From 31699f6f3eba334de082a55c645075d3202d3e95 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 28 May 2023 16:37:42 -0700 Subject: 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). --- profiles/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profiles') 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"; }; }; -- cgit 1.4.1