well all know how we can manipulate the gc in nixos configuration
{lib, ...}: {
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix = {
gc = {
automatic = true;
options = lib.mkDefault "--delete-older-than 15d";
};
optimise.automatic = true;
};
nix.settings.auto-optimise-store = true;
system = {
autoUpgrade.enable = true;
autoUpgrade.dates = lib.mkDefault "weekly";
};
}
but how can i do the same behaviors like deleting generations older than 15days but for home manager?
NOTE: i’m on home manager standalone