From 2aad01bd623d05cb2f8336e7eaf017b4938f6461 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 4 Oct 2024 17:15:25 +0200 Subject: [PATCH] don't hog all cores, might OOM, too --- share/common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/common.nix b/share/common.nix index cf053cf..abfbff3 100644 --- a/share/common.nix +++ b/share/common.nix @@ -257,6 +257,9 @@ in # package manager config nix = { + # don't hog all cores, might OOM, too + settings.max-jobs = 4; + # auto optimize the store settings.auto-optimise-store = true;