diff options
author | Soispha <soispha@vhack.eu> | 2023-07-29 16:15:19 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-29 16:15:19 +0200 |
commit | 2e46123cb14b7a4160fff501087b79541df2731e (patch) | |
tree | 92c86ea5a9eb1df50d30d0630b8f49c3237ae169 /flake | |
parent | Fix(hm/conf/gpg): Add config for isimud (diff) | |
download | nixos-config-2e46123cb14b7a4160fff501087b79541df2731e.tar.gz nixos-config-2e46123cb14b7a4160fff501087b79541df2731e.zip |
Fix(hosts/isimud): Import the whole system configuration
Diffstat (limited to 'flake')
-rw-r--r-- | flake/default.nix | 2 | ||||
-rw-r--r-- | flake/packages/default.nix | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/flake/default.nix b/flake/default.nix index 2935bb51..9c6e2033 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -123,7 +123,7 @@ in { ; }; packages."${system}" = import ./packages { - inherit nixos-generators defaultSpecialArgs pkgs sysLib; + inherit nixos-generators defaultSpecialArgs defaultModules pkgs sysLib; inherit (pkgs) lib; }; diff --git a/flake/packages/default.nix b/flake/packages/default.nix index 80efcc05..4ab68775 100644 --- a/flake/packages/default.nix +++ b/flake/packages/default.nix @@ -1,6 +1,7 @@ { nixos-generators, defaultSpecialArgs, + defaultModules, pkgs, sysLib, ... @@ -19,9 +20,11 @@ in gpg-iso = nixos-generators.nixosGenerate { system = "x86_64-linux"; specialArgs = defaultSpecialArgs; - modules = [ - ../../hosts/isimud - ]; + modules = + [ + ../../hosts/isimud + ] + ++ defaultModules; format = "iso"; }; } |