1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ self, lib, ... }: let systems = ["atlas" "p-body"]; deployedSystems = lib.filterAttrs (n: _: builtins.elem n systems) self.nixosConfigurations; in { flake.deploy = { remoteBuild = true; nodes = self.lib.utils.mkDeployNodes deployedSystems; }; }