miniserver max jobs increased to 12

This commit is contained in:
Danilo Reyes 2024-12-04 15:27:17 -06:00
parent ebddba43b2
commit 31590477f3

View File

@ -12,9 +12,19 @@
allowedUDPPorts = [ 2049 ]; allowedUDPPorts = [ 2049 ];
}; };
}; };
nix = nix = {
settings = {
cores = 3;
max-jobs = 12;
};
buildMachines =
let let
featuresList = [ buildMachine = hostName: maxJobs: {
inherit hostName maxJobs;
system = "x86_64-linux";
sshUser = "nixremote";
speedFactor = 1;
supportedFeatures = [
"nixos-test" "nixos-test"
"benchmark" "benchmark"
"big-parallel" "big-parallel"
@ -23,17 +33,6 @@
"gccarch-skylake" "gccarch-skylake"
"gccarch-alderlake" "gccarch-alderlake"
]; ];
in
{
settings.cores = 3;
buildMachines =
let
buildMachine = hostName: maxJobs: {
inherit hostName maxJobs;
system = "x86_64-linux";
sshUser = "nixremote";
speedFactor = 1;
supportedFeatures = featuresList;
}; };
in in
[ [