From 62303b5be6b0f016dca717df8d4f1c463ce49cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 2 Dec 2022 19:47:30 +0000 Subject: [PATCH] better nix build settings for bolty --- nixos/boxes/bolty/bolty-boot.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/boxes/bolty/bolty-boot.nix b/nixos/boxes/bolty/bolty-boot.nix index ca3de5ea..f64f1c3e 100644 --- a/nixos/boxes/bolty/bolty-boot.nix +++ b/nixos/boxes/bolty/bolty-boot.nix @@ -37,8 +37,10 @@ swapDevices = [ ]; - nix.maxJobs = 2; - nix.buildCores = 7; + nix.settings = { + max-jobs = 8; + cores = 0; # auto + }; zramSwap = { enable = true;