feat: use angrr (gc roots cleaner)

This commit is contained in:
2025-12-07 11:51:19 +08:00
parent 4f043b6ad1
commit 475837cd66
3 changed files with 128 additions and 8 deletions

View File

@@ -74,5 +74,15 @@ lib.my.makeSwitch {
options = "--delete-older-than 30d";
};
*/
services.angrr = {
enable = true;
period = "1month";
};
my.hm.xdg.configFile."direnv/lib/angrr.sh".source =
"${config.services.angrr.package}/share/direnv/lib/angrr.sh";
my.hm.programs.direnv.stdlib = ''
use angrr
'';
};
}