From a28cd47e8b6d819caaa3612bc222d45c151141c2 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 7 May 2022 01:01:02 +0200 Subject: [PATCH] hydra: update buildCores, maxJobs --- hosts/hydra/default.nix | 2 +- hosts/hydra/hydra.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/hydra/default.nix b/hosts/hydra/default.nix index cfd9c3ec..677f9217 100644 --- a/hosts/hydra/default.nix +++ b/hosts/hydra/default.nix @@ -22,7 +22,7 @@ nix = { useSandbox = false; maxJobs = 4; - buildCores = 20; + buildCores = 16; gc = { automatic = true; dates = lib.mkForce "06:00"; diff --git a/hosts/hydra/hydra.nix b/hosts/hydra/hydra.nix index 590e7ea4..60c97c1f 100644 --- a/hosts/hydra/hydra.nix +++ b/hosts/hydra/hydra.nix @@ -15,7 +15,7 @@ in { config.boot.binfmt.emulatedSystems ); supportedFeatures = [ "big-parallel" "benchmark" "kvm" "nixos-test" ]; - maxJobs = 4; + inherit (config.nix) maxJobs; } ]; daemonCPUSchedPolicy = "idle";