From ebd2756d3e2b2cb5cc88d9162206c5b2406d2ed8 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 20 Oct 2024 20:59:38 -0400 Subject: [PATCH] add home-manager nix gc Signed-off-by: ahuston-0 --- users/alice/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/alice/home.nix b/users/alice/home.nix index 9744ec6..58c37e4 100644 --- a/users/alice/home.nix +++ b/users/alice/home.nix @@ -167,5 +167,11 @@ secrets."alice/wakatime-api-key".path = "/home/alice/.config/doom/wakatime"; }; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + home.stateVersion = "23.11"; }