about summary refs log tree commit diff stats
path: root/services/nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-25 15:55:23 +0100
committerene <ene@sils.li>2023-02-25 15:55:23 +0100
commit04665a586106b81f0393faeda702bb9b5b22b5a3 (patch)
treee375bc31be60a91e3680af4c4ba41e666bfc5cd9 /services/nix
parentFix(users): Use zsh as default shell again (diff)
downloadnixos-config-04665a586106b81f0393faeda702bb9b5b22b5a3.zip
Fix(nix): Don't remove old gens so quickly
Diffstat (limited to 'services/nix')
-rw-r--r--services/nix/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/nix/default.nix b/services/nix/default.nix
index b0720788..b86e46fe 100644
--- a/services/nix/default.nix
+++ b/services/nix/default.nix
@@ -8,8 +8,8 @@
   nix = {
     gc = {
       automatic = true;
-      dates = "daily";
-      options = "--delete-older-than 3";
+      dates = "weekly";
+      options = "--delete-older-than 7d";
     };
     settings = {
       auto-optimise-store = true;