about summary refs log tree commit diff
path: root/nix/hosts/common
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/common')
-rw-r--r--nix/hosts/common/nix.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nix/hosts/common/nix.nix b/nix/hosts/common/nix.nix
index c828a16..e67f1d3 100644
--- a/nix/hosts/common/nix.nix
+++ b/nix/hosts/common/nix.nix
@@ -5,11 +5,12 @@
     gc = {
       user = "root";
       automatic = true;
-      interval = { Weekday = 0; Hour = 2; Minute = 0; };
-      options = "--delete-older-than 30d";
+      dates = "weekly";
+      options = "--delete-older-than 7d";
     };
 
     settings = {
+      auto-optimise-store = true;
       trusted-users = [ "@admin" "fcuny" ];
       experimental-features = [ "nix-command" "flakes" ];
     };