From 31590477f3460a94e5f08338e2ff2afb5a435f2a Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Wed, 4 Dec 2024 15:27:17 -0600 Subject: [PATCH] miniserver max jobs increased to 12 --- hosts/miniserver/configuration.nix | 55 +++++++++++++++--------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/hosts/miniserver/configuration.nix b/hosts/miniserver/configuration.nix index d5c1daa..55f7787 100644 --- a/hosts/miniserver/configuration.nix +++ b/hosts/miniserver/configuration.nix @@ -12,35 +12,34 @@ allowedUDPPorts = [ 2049 ]; }; }; - nix = - let - featuresList = [ - "nixos-test" - "benchmark" - "big-parallel" - "kvm" - "gccarch-znver3" - "gccarch-skylake" - "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 - [ - (buildMachine "workstation" 10) - (buildMachine "server" 6) - ]; + nix = { + settings = { + cores = 3; + max-jobs = 12; }; + buildMachines = + let + buildMachine = hostName: maxJobs: { + inherit hostName maxJobs; + system = "x86_64-linux"; + sshUser = "nixremote"; + speedFactor = 1; + supportedFeatures = [ + "nixos-test" + "benchmark" + "big-parallel" + "kvm" + "gccarch-znver3" + "gccarch-skylake" + "gccarch-alderlake" + ]; + }; + in + [ + (buildMachine "workstation" 10) + (buildMachine "server" 6) + ]; + }; nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ]; users = { groups.nixremote.gid = 555;