From ed9d06629c00a9a0d9582280122fe2dbd8314756 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Mon, 20 Nov 2023 18:43:09 +0100 Subject: [PATCH] dumpyourvms: only use 7 cores for nix builds --- hosts/dumpyourvms/dumpyourvms.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index 301a6503..80413dae 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -44,6 +44,9 @@ in { }; }; + # Avoid nix builds making the laptop hang by reserving 1 core + nix.settings.cores = 7; + networking.hostName = "dumpyourvms"; services.resolved = {