diff options
| author | Baitinq <[email protected]> | 2022-09-09 01:15:18 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-09-18 15:22:22 +0200 |
| commit | 3b8727194d1de81419346f700bc4eca3f6190747 (patch) | |
| tree | 6e7c155b09797ce8615f116703603074a96499c1 /flake.nix | |
| parent | River: Change exit to Mod+Ctrl+Shift E (diff) | |
| download | nixos-config-3b8727194d1de81419346f700bc4eca3f6190747.tar.gz nixos-config-3b8727194d1de81419346f700bc4eca3f6190747.tar.bz2 nixos-config-3b8727194d1de81419346f700bc4eca3f6190747.zip | |
Implement host-hardware separation
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix index e5435fd..2becc78 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,7 @@ isNixOS = true; extraModules = [ ]; isIso = false; + isHardware = true; inherit (nixpkgs) lib; inherit inputs user nixpkgs home-manager; }; @@ -45,6 +46,7 @@ isNixOS = false; extraModules = [ ]; isIso = false; + isHardware = false; #no COde duplication here: TODO inherit (nixpkgs) lib; inherit inputs user nixpkgs home-manager; @@ -54,10 +56,20 @@ isNixOS = true; extraModules = [ ]; isIso = true; + isHardware = false; user = "nixos"; #no COde duplication here: TODO inherit (nixpkgs) lib; inherit inputs nixpkgs home-manager; }; + + nixosNoHardwareConfigurations = import ./hosts { + isNixOS = true; + extraModules = [ ]; + isIso = false; + isHardware = false; + inherit (nixpkgs) lib; + inherit inputs user nixpkgs home-manager; + }; }; } |