blob: 4c843797ae5c5215b0efb9177efa89ae2b7a38ed (
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"];
targets' = filterAttrs (n: _: elem n targets) (nixosConfigurations // darwinConfigurations);
in {
flake.deploy = {
remoteBuild = true;
fastConnection = true;
nodes = self.lib.utils.deploy.mkDeployNodes targets';
};
}
|