about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-28 16:37:42 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-28 16:37:42 -0700
commit31699f6f3eba334de082a55c645075d3202d3e95 (patch)
tree86fdd0e27e5b7703342b34ad795a9663cdfe471f
parentprofiles/zsh: change prezto's theme (diff)
downloadworld-31699f6f3eba334de082a55c645075d3202d3e95.tar.gz
profiles/default: fix the GC configuration
I got the settings wrong. The `weekly` applies to `nix.gc.dates`,
which is for how often the GC should run. While `nix.gc.options` is to
delete content in the store older than 14 days (in my case).
-rw-r--r--profiles/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/default.nix b/profiles/default.nix
index bcda0a2..198d9f4 100644
--- a/profiles/default.nix
+++ b/profiles/default.nix
@@ -87,7 +87,7 @@
 
     gc = {
       automatic = true;
-      options = "weekly";
+      options = "--delete-older-than 14d";
     };
   };