From 583db61b3f23844f0e14bcf3c4925aa417b74639 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 13 Mar 2025 15:03:06 +0100 Subject: [PATCH] common/nix: auto optimise, auto gc --- hosts/common/nix.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/common/nix.nix b/hosts/common/nix.nix index 6080333..b10b8ac 100644 --- a/hosts/common/nix.nix +++ b/hosts/common/nix.nix @@ -17,7 +17,6 @@ settings = { allow-dirty = true; allowed-uris = [ "http://" "https://" ]; - auto-optimise-store = true; binary-caches = [ "https://cache.nixos.org/" ]; builders-use-substitutes = true; experimental-features = [ "nix-command" "flakes" ]; @@ -30,6 +29,9 @@ !include ${config.sops.secrets."nix/access-tokens".path} ''; + optimise.automatic = true; + gc.automatic = true; + registry = { home.to = { type = "path";