This commit is contained in:
Sridhar Ratnakumar 2021-09-17 23:37:42 -04:00
parent f5de63c9ac
commit ecb79359bf
2 changed files with 78 additions and 75 deletions

View file

@ -2,17 +2,19 @@
# https://nixos.wiki/wiki/Distributed_build
{
nix.buildMachines = [{
hostName = "162.55.241.231";
system = "x86_64-linux";
# if the builder supports building for multiple architectures,
# replace the previous line by, e.g.,
# systems = ["x86_64-linux" "aarch64-linux"];
maxJobs = 16;
speedFactor = 3;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}];
nix.buildMachines = [
{
hostName = "162.55.89.216";
system = "x86_64-linux";
# if the builder supports building for multiple architectures,
# replace the previous line by, e.g.,
# systems = ["x86_64-linux" "aarch64-linux"];
maxJobs = 16;
speedFactor = 3;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [];
}
];
nix.distributedBuilds = true;
# optional, useful when the builder has a faster internet connection than yours
nix.extraOptions = ''