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

16 lines
540 B
Nix
Raw Normal View History

2023-10-06 12:41:55 +02:00
{
2023-10-07 10:47:55 +02:00
nix.settings.trusted-users = [ "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";
2023-10-07 11:40:53 +02:00
maxJobs = 8;
2023-10-06 12:41:55 +02:00
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.extraOptions = ''builders-use-substitutes = true'';
2023-10-06 12:41:55 +02:00
}