{ ... }: { nix.buildMachines = [ { hostName = "vm-synology"; sshUser = "builder"; # 'ssh-ng' is faster if both machines are NixOS but falls flat if the # machine Nix will attempt a connection to is not NixOS. In such a case # you must use 'ssh' instead. protocol = "ssh-ng"; # Systems for which builds will be offloaded. systems = [ "x86_64-linux" ]; # Default is 1 but may keep the builder idle in between builds maxJobs = 1; supportedFeatures = [ "nixos-test" ]; } ]; nix.distributedBuilds = true; programs.ssh.extraConfig = '' Host builder User builder HostName vm-synology ''; }