add nix garbage collection module

This commit is contained in:
Sangmin Kim 2026-05-19 13:27:53 +09:00
parent ea767d86e0
commit 9730520879

View file

@ -1 +1,13 @@
# TODO: Define garbage collection settings. { ... }:
{
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
nix.optimise.automatic = true;
boot.tmp.cleanOnBoot = true;
}