From f5945b14fa0f7de4a9769ca78bb7d0d478b6f36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 25 Jun 2024 12:23:12 -0300 Subject: [PATCH] phantom: limit nix daemon to a single concurrent job --- hosts/phantom/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/phantom/default.nix b/hosts/phantom/default.nix index 66dec30..db8a0bf 100644 --- a/hosts/phantom/default.nix +++ b/hosts/phantom/default.nix @@ -54,6 +54,11 @@ identityPaths = [ "/root/.ssh/id_rsa" ]; }; + nix.settings = { + cores = 1; + max-jobs = 1; + }; + system.autoUpgrade = { enable = true; dates = "04:40"; @@ -62,7 +67,7 @@ "--update-input" "nixpkgs" "--no-write-lock-file" - "-L" + "--print-build-logs" ]; flake = "git+https://git.lelgenio.com/lelgenio/nixos-config#phantom"; };