system/nixos/shared/garbage-collector.nix

14 lines
202 B
Nix

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