From f9b18c71220a15f8b8f0fca569f1e2002a2c2196 Mon Sep 17 00:00:00 2001 From: kat witch Date: Thu, 15 Jul 2021 02:32:53 +0100 Subject: [PATCH] Optimise store setting --- config/profiles/common/nix.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/profiles/common/nix.nix b/config/profiles/common/nix.nix index 58763b2d..f8931c43 100644 --- a/config/profiles/common/nix.nix +++ b/config/profiles/common/nix.nix @@ -14,6 +14,7 @@ binaryCaches = [ "https://arc.cachix.org" "https://kittywitch.cachix.org" ]; binaryCachePublicKeys = [ "arc.cachix.org-1:DZmhclLkB6UO0rc0rBzNpwFbbaeLfyn+fYccuAy7YVY=" "kittywitch.cachix.org-1:KIzX/G5cuPw5WgrXad6UnrRZ8UDr7jhXzRTK/lmqyK0=" ]; + autoOptimiseStore = true; gc.automatic = lib.mkDefault true; gc.options = lib.mkDefault "--delete-older-than 1w"; trustedUsers = [ "root" "@wheel" ];