lib/common: add --delete-older-than

This commit is contained in:
Luke Granger-Brown 2021-03-19 21:29:54 +00:00
parent 9036f02fd0
commit c51e5d478d

View file

@ -127,6 +127,7 @@ in
nix.gc = { nix.gc = {
automatic = lib.mkDefault true; automatic = lib.mkDefault true;
dates = "*-*-* 05:00:00"; dates = "*-*-* 05:00:00";
options = "--delete-older-than 7d";
}; };
home-manager.useUserPackages = true; home-manager.useUserPackages = true;