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'; }; }