diff options
| author | seth <[email protected]> | 2023-08-17 19:12:06 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-08-17 19:12:06 -0400 |
| commit | 122f5a3452661ace85e93ae6c6fb2715e678f411 (patch) | |
| tree | ccee850d7cde4f4b76b86b8ca233dc845a5f163e | |
| parent | d5d269add28adfd18669186c14a83e526107c692 (diff) | |
parts/deploy: filterAttrs -> genAttrs
| -rw-r--r-- | parts/deploy.nix | 7 |
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; |
