Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233{ config, inputs, lib, ...}:{ deploy.nodes = lib.mapAttrs (name: host: { hostname = name; sshOpts = [ "-o" "ControlPath=none" ]; profiles.system = { sshUser = name; user = "root"; interactiveSudo = true; path = inputs.deploy-rs.lib.${host.system}.activate.nixos config.nixosConfigurations.${name}; }; }) ( lib.filterAttrs ( name: host: config.nixosConfigurations ? ${name} && host.machineModules != [ ] ) config.hosts );
pins.deploy-rs = { url = "https://github.com/serokell/deploy-rs"; };}