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