remote builders speedfactor optimized

This commit is contained in:
Danilo Reyes 2024-12-04 17:10:11 -06:00
parent 31590477f3
commit 2269bf16cc

View File

@ -15,15 +15,14 @@
nix = { nix = {
settings = { settings = {
cores = 3; cores = 3;
max-jobs = 12; max-jobs = 8;
}; };
buildMachines = buildMachines =
let let
buildMachine = hostName: maxJobs: { buildMachine = hostName: maxJobs: speedFactor: {
inherit hostName maxJobs; inherit hostName maxJobs speedFactor;
system = "x86_64-linux"; system = "x86_64-linux";
sshUser = "nixremote"; sshUser = "nixremote";
speedFactor = 1;
supportedFeatures = [ supportedFeatures = [
"nixos-test" "nixos-test"
"benchmark" "benchmark"
@ -36,8 +35,8 @@
}; };
in in
[ [
(buildMachine "workstation" 10) (buildMachine "workstation" 16 40)
(buildMachine "server" 6) (buildMachine "server" 16 17)
]; ];
}; };
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];