about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-06 23:10:25 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-07 12:42:31 +0200
commit9e6ac0a2848a0b6e38de7f84bbab5862c14c33cf (patch)
tree8475ca278ca71d6dec0a89473fc16dd325ead8f6 /flake.nix
parentAdd irqbalance service (diff)
downloadnixos-config-9e6ac0a2848a0b6e38de7f84bbab5862c14c33cf.tar.gz
nixos-config-9e6ac0a2848a0b6e38de7f84bbab5862c14c33cf.tar.bz2
nixos-config-9e6ac0a2848a0b6e38de7f84bbab5862c14c33cf.zip
Add ability to create iso of nixosConfigurations
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index ad1ead9..de8a701 100644
--- a/flake.nix
+++ b/flake.nix
@@ -27,12 +27,25 @@
     {
       nixosConfigurations = import ./hosts {
         isNixOS = true;
+        extraModules = [ ];
+        isIso = false;
         inherit (nixpkgs) lib;
         inherit inputs nixpkgs home-manager;
       };
 
       homeConfigurations = import ./hosts {
         isNixOS = false;
+        extraModules = [ ];
+        isIso = false;
+        #no COde duplication here: TODO
+        inherit (nixpkgs) lib;
+        inherit inputs nixpkgs home-manager;
+      };
+
+      isoConfigurations = import ./hosts {
+        isNixOS = true;
+        extraModules = [ ];
+        isIso = true;
         #no COde duplication here: TODO
         inherit (nixpkgs) lib;
         inherit inputs nixpkgs home-manager;