From 7150da6d14dcdff87ca3b2d7e0567fcd1a391c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 8 Nov 2023 16:22:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=20(neodymium/system/nix)=20limi?= =?UTF-8?q?t=20the=20number=20of=20cores=20when=20building=20nix=20express?= =?UTF-8?q?ions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/system/nix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/neodymium/system/nix/default.nix b/hosts/neodymium/system/nix/default.nix index 85fa0f9..88f66a9 100644 --- a/hosts/neodymium/system/nix/default.nix +++ b/hosts/neodymium/system/nix/default.nix @@ -5,6 +5,9 @@ # experimental features nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # limit number of cores when building + nix.settings.max-jobs = 6; + # optimizations nix.settings.auto-optimise-store = true;