Enable deployment for c2 and c3.
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -17,6 +17,8 @@
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
c1 = mkNixos [ ./hosts/c1 ];
|
||||
c2 = mkNixos [ ./hosts/c2 ];
|
||||
c3 = mkNixos [ ./hosts/c3 ];
|
||||
};
|
||||
|
||||
deploy = {
|
||||
@@ -28,6 +30,20 @@
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.c1;
|
||||
};
|
||||
};
|
||||
c2 = {
|
||||
hostname = "c2";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.c2;
|
||||
};
|
||||
};
|
||||
c3 = {
|
||||
hostname = "c3";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.c3;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user