diff options
Diffstat (limited to '')
-rw-r--r-- | nix/lib/mkSystem.nix | 12 | ||||
-rw-r--r-- | nix/lib/overlays.nix | 3 |
2 files changed, 6 insertions, 9 deletions
diff --git a/nix/lib/mkSystem.nix b/nix/lib/mkSystem.nix index cb581c7..c9c8074 100644 --- a/nix/lib/mkSystem.nix +++ b/nix/lib/mkSystem.nix @@ -14,13 +14,11 @@ let # NixOS vs nix-darwin functionst systemFunc = if darwin then inputs.darwin.lib.darwinSystem else nixpkgs.lib.nixosSystem; - home-manager = - if darwin then - inputs.home-manager.darwinModules - else - inputs.home-manager.nixosModules; -in -systemFunc rec { + home-manager = if darwin then + inputs.home-manager.darwinModules + else + inputs.home-manager.nixosModules; +in systemFunc rec { inherit system; modules = [ diff --git a/nix/lib/overlays.nix b/nix/lib/overlays.nix index 1ec6f49..531c725 100644 --- a/nix/lib/overlays.nix +++ b/nix/lib/overlays.nix @@ -1,6 +1,5 @@ let path = ../../overlays; in with builtins; -map (n: import (path + ("/" + n))) (filter - (n: +map (n: import (path + ("/" + n))) (filter (n: match ".*\\.nix" n != null || pathExists (path + ("/" + n + "/default.nix"))) (attrNames (readDir path))) |