system/nixos/shared/garbage-collector.nix

15 lines
202 B
Nix
Raw Normal View History

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