summaryrefslogtreecommitdiff
path: root/parts/deploy.nix
blob: dbb1cc30cdec43afbddd8167260d6661d3515e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  self,
  lib,
  ...
}: let
  targets = ["atlas" "p-body"];

  targets' = lib.filterAttrs (n: _: builtins.elem n targets) self.nixosConfigurations;
in {
  flake.deploy = {
    remoteBuild = true;
    fastConnection = true;
    nodes = self.lib.utils.mkDeployNodes targets';
  };
}