totoro: use whitby as a build machine

This commit is contained in:
Luke Granger-Brown 2020-07-08 18:34:33 +00:00
parent 88fbb167c9
commit a1115de05f

View file

@ -67,5 +67,19 @@ in {
networking.firewall.allowedTCPPorts = [ 111 2049 ]; networking.firewall.allowedTCPPorts = [ 111 2049 ];
networking.firewall.allowedUDPPorts = [ 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"; system.stateVersion = "20.03";
} }