From f8c61e4d17235e8b5538ae15135b3726b2fba21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Wed, 14 May 2025 21:58:50 +0200 Subject: [PATCH] feat(hm): enable autoExpire service Stop home-manager from clogging up disk space with old generations. --- modules/hm/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/hm/default.nix b/modules/hm/default.nix index 8073d38..e7e67c7 100644 --- a/modules/hm/default.nix +++ b/modules/hm/default.nix @@ -111,6 +111,8 @@ in pinentryPackage = if config.jhome.gui.enable then pkgs.pinentry-qt else pkgs.pinentry-curses; extraConfig = "allow-preset-passphrase"; }; + # Delete old generations (>month) + home-manager.autoExpire.enable = true; # Spotifyd spotifyd = { inherit (config.jhome.gui) enable; -- 2.49.0