nix/nixos/common/modules/remote-builders.nix
2023-10-07 17:47:55 +09:00

17 lines
No EOL
574 B
Nix

{
nix.settings.trusted-users = [ "albert" ];
nix.buildMachines = [
{
hostName = "nixos-vm-01"; # Only availalbe on the Headscale network
sshUser = "albert";
protocol = "ssh-ng";
maxJobs = 4;
speedFactor = 2;
systems = [ "x86_64-linux" "aarch64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}
];
nix.distributedBuilds = true;
nix.extraOptions = ''builders-use-substitutes = true'';
}