system/machines/modules/garbage-collector.nix

14 lines
201 B
Nix

{ ... }:
{
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
virtualisation.docker.autoPrune = {
enable = true;
dates = "weekly";
};
}