From ad5ac179d765cd73be5aca994980f1261f7d59e4 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 6502869..56bc27e 100644 --- a/users/alice/home.nix +++ b/users/alice/home.nix @@ -165,5 +165,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"; }