diff options
author | sefidel <contact@sefidel.net> | 2024-01-24 19:10:23 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-24 19:10:23 +0900 |
commit | 7dfd6977aad6ddbb742c738d39daa388557b315b (patch) | |
tree | e23474ef4a208191f1e4bd47f753f2032a816458 /lib/mk_system.nix | |
parent | 6212558c61f7a55710f9f53a47711beb17f42f4e (diff) | |
download | nixrc-7dfd6977aad6ddbb742c738d39daa388557b315b.tar.gz nixrc-7dfd6977aad6ddbb742c738d39daa388557b315b.zip |
feat(nixos): import all modules by default
Diffstat (limited to 'lib/mk_system.nix')
-rw-r--r-- | lib/mk_system.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/mk_system.nix b/lib/mk_system.nix index 70149fe..ba24d21 100644 --- a/lib/mk_system.nix +++ b/lib/mk_system.nix @@ -21,11 +21,8 @@ } entryPoint hardware - # TODO: import all modules (use mapModules?) - ../modules/flakes.nix - ../modules/nix.nix - ../modules/nixpkgs.nix - ] ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; } + ] ++ self.lib.mapModulesRec' ../modules import + ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; } ++ nixpkgs.lib.optionals (extraModules != null) extraModules; # let deployment options to be set without breaking eval on nixosConfigurations |