totoro: use whitby as a build machine
This commit is contained in:
parent
88fbb167c9
commit
a1115de05f
1 changed files with 14 additions and 0 deletions
|
@ -67,5 +67,19 @@ in {
|
|||
networking.firewall.allowedTCPPorts = [ 111 2049 ];
|
||||
networking.firewall.allowedUDPPorts = [ 111 2049 ];
|
||||
|
||||
# Distributed builds!
|
||||
nix.buildMachines = [ {
|
||||
hostName = "whitby";
|
||||
system = "x86_64-linux";
|
||||
maxJobs = 64;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
}] ;
|
||||
nix.distributedBuilds = true;
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
|
||||
system.stateVersion = "20.03";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue