Make a hosts directory.

This commit is contained in:
2023-06-30 07:19:13 +01:00
parent edcdb13c03
commit 1e3a708ce4
4 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
}; };
in { in {
nixosConfigurations = { nixosConfigurations = {
c1 = mkNixos "c1" [ ./c1.nix ]; c1 = mkNixos "c1" [ ./hosts/c1 ];
}; };
deploy = { deploy = {

View File

@@ -2,8 +2,8 @@
{ {
imports = [ imports = [
inputs.impermanence.nixosModules.impermanence inputs.impermanence.nixosModules.impermanence
./compute-node.nix ../common/compute-node.nix
./c1-hardware.nix ./hardware.nix
]; ];
networking.hostName = hostname; networking.hostName = hostname;