From c06ea39113fa4d2e497bd53dce8ff943a415796e Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 30 Jun 2023 11:03:13 +0100 Subject: [PATCH] Enable deployment for c2 and c3. --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/flake.nix b/flake.nix index 957cf3f..495b1e0 100644 --- a/flake.nix +++ b/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; + }; + }; }; };