From c31f5b02fd119176e63641854d62339e36b8bb63 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Tue, 22 Oct 2024 17:47:37 +1000 Subject: [PATCH] updated nix.settings --- core/config.nix | 9 +++++++-- core/hosts/hades/default.nix | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/core/config.nix b/core/config.nix index 64ab947..0b02261 100644 --- a/core/config.nix +++ b/core/config.nix @@ -30,12 +30,17 @@ nix.settings = { ## Use all cores during build cores = 0; + max-jobs = auto; + min-free = 0; + allow-dirty = false; auto-optimise-store = true; + download-buffer-size = [ "268435456" ]; allowed-users = [ "@wheel" ]; ## Enable flakes uwu experimental-features = [ - "nix-command" - "flakes" + "recursive-nix" + "nix-command" + "flakes" ]; }; diff --git a/core/hosts/hades/default.nix b/core/hosts/hades/default.nix index f6b49a0..ea8479b 100644 --- a/core/hosts/hades/default.nix +++ b/core/hosts/hades/default.nix @@ -16,10 +16,8 @@ ]; nix = { - #settings = { #}; - gc = { ## Automatically run 'nix-collect-garbage', automatic = true;