about summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake/default.nix2
-rw-r--r--flake/packages/default.nix9
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";
     };
   }