blob: 43eb08a1c1d5ff8e4ab76f841900fde04091bc94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
self,
lib,
...
}: let
inherit (builtins) elem;
inherit (lib) filterAttrs;
inherit (self) darwinConfigurations nixosConfigurations;
targets = ["atlas" "p-body" "caroline"];
targets' = filterAttrs (n: _: elem n targets) (nixosConfigurations // darwinConfigurations);
in {
flake.deploy = {
remoteBuild = true;
fastConnection = true;
nodes = self.lib.utils.deploy.mkDeployNodes targets';
};
}
|