From 0039ecd602fa7daba5cf49a3ca257116aec5d3a0 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 19 Aug 2023 20:05:49 -0400 Subject: parts/deploy: use fastConnection + new mkDeployNodes --- parts/deploy.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'parts/deploy.nix') 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; }; } -- cgit v1.2.3