diff options
| -rw-r--r-- | parts/deploy.nix | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/parts/deploy.nix b/parts/deploy.nix index b3b3766..cce2b00 100644 --- a/parts/deploy.nix +++ b/parts/deploy.nix @@ -1,14 +1,9 @@ -{ - self, - lib, - ... -}: let - machines = ["atlas" "p-body"]; - - deployedSystems = lib.genAttrs machines (m: self.nixosConfigurations.${m}); +{self, ...}: let + targets = ["atlas" "p-body"]; in { flake.deploy = { remoteBuild = true; - nodes = self.lib.utils.mkDeployNodes deployedSystems; + fastConnection = true; + nodes = self.lib.utils.mkDeployNodes targets; }; } |
