nix/nixos/common/modules/remote-builders.nix

17 lines
564 B
Nix
Raw Normal View History

2023-10-06 12:41:55 +02:00
{
2023-10-07 10:38:55 +02:00
nix.trustedUsers = [ "albert" ];
2023-10-07 08:34:58 +02:00
nix.buildMachines = [
2023-10-06 12:41:55 +02:00
{
2023-10-06 12:42:26 +02:00
hostName = "nixos-vm-01"; # Only availalbe on the Headscale network
2023-10-07 08:54:59 +02:00
sshUser = "albert";
2023-10-06 12:41:55 +02:00
protocol = "ssh-ng";
maxJobs = 4;
speedFactor = 2;
2023-10-07 08:54:59 +02:00
systems = [ "x86_64-linux" "aarch64-linux" ];
2023-10-06 12:41:55 +02:00
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}
];
2023-10-07 08:34:58 +02:00
nix.distributedBuilds = true;
nix.extraOptions = ''builders-use-substitutes = true'';
2023-10-06 12:41:55 +02:00
}