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