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

15 lines
499 B
Nix
Raw Normal View History

2023-10-06 12:41:55 +02:00
{
2023-10-07 08:34:58 +02:00
nix.buildMachines = [
2023-10-06 12:41:55 +02:00
{
2023-12-04 02:55:48 +01:00
hostName = "framework-server"; # 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-12-04 02:55:48 +01:00
maxJobs = 32;
speedFactor = 5;
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
}