nix/nixos/common/modules/remote-builders.nix
2023-11-26 20:29:58 +09:00

26 lines
No EOL
964 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 = 16;
speedFactor = 2;
systems = [ "x86_64-linux" "aarch64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}
# {
# hostName = "framework-server"; # Only availalbe on the Headscale network
# sshUser = "albert";
# protocol = "ssh-ng";
# maxJobs = 16;
# speedFactor = 2;
# systems = [ "x86_64-linux" "aarch64-linux" ];
# supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
# mandatoryFeatures = [ ];
# }
];
nix.extraOptions = ''builders-use-substitutes = true'';
}