summaryrefslogtreecommitdiff
path: root/parts
diff options
context:
space:
mode:
Diffstat (limited to 'parts')
-rw-r--r--parts/deploy.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/parts/deploy.nix b/parts/deploy.nix
index 9bd98b2..b3b3766 100644
--- a/parts/deploy.nix
+++ b/parts/deploy.nix
@@ -3,12 +3,9 @@
lib,
...
}: let
- systems = ["atlas" "p-body"];
+ machines = ["atlas" "p-body"];
- deployedSystems =
- lib.filterAttrs
- (n: _: builtins.elem n systems)
- self.nixosConfigurations;
+ deployedSystems = lib.genAttrs machines (m: self.nixosConfigurations.${m});
in {
flake.deploy = {
remoteBuild = true;