Fine-tune build system

This commit is contained in:
Cyryl Płotnicki 2020-02-23 10:38:22 +00:00
parent b32499179e
commit 00121bf79f
2 changed files with 5 additions and 4 deletions

View file

@ -43,4 +43,7 @@
../i3/system.nix ../i3/system.nix
../distributed-builds.nix ../distributed-builds.nix
]; ];
nix.maxJobs = 4;
nix.buildCores = 2;
} }

View file

@ -6,8 +6,7 @@
sshUser = "nix-builder"; sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519"; sshKey = "/home/cyryl/.ssh/id_ed25519";
system = "x86_64-linux"; system = "x86_64-linux";
maxJobs = 2; maxJobs = 1;
speedFactor = 1;
supportedFeatures = [ "kvm" ]; supportedFeatures = [ "kvm" ];
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
} }
@ -16,8 +15,7 @@
sshUser = "nix-builder"; sshUser = "nix-builder";
sshKey = "/home/cyryl/.ssh/id_ed25519"; sshKey = "/home/cyryl/.ssh/id_ed25519";
system = "x86_64-linux"; system = "x86_64-linux";
maxJobs = 4; maxJobs = 2;
speedFactor = 4;
supportedFeatures = [ ]; supportedFeatures = [ ];
mandatoryFeatures = [ ]; mandatoryFeatures = [ ];
} }