[NixOS] Flakes sort of working

This commit is contained in:
2021-07-11 04:19:34 -06:00
parent 118ad8f3ea
commit c8ad9de976
22 changed files with 448 additions and 79 deletions

View File

@@ -1,8 +1,6 @@
_: pkgs: rec {
haskellPackages = pkgs.haskellPackages.override (old: {
overrides = pkgs.lib.composeExtensions (old.overrides or (_: _: {})) (self: super: rec {
xmonad = self.callCabal2nix "xmonad" (fetchGit ./xmonad) { };
xmonad-contrib = self.callCabal2nix "xmonad-contrib" (fetchGit ./xmonad-contrib) { };
imalison-xmonad = self.callCabal2nix "imalison-xmonad" (
pkgs.lib.sourceByRegex ./.
[

View File

@@ -484,3 +484,7 @@ function all_after_char {
function find_local_ssh_hosts {
nmap -p 22 --open -sV 10.0.0.0/24 | grep -Eo "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"
}
function rwhich {
readlink -f $(which $1)
}