made default nix gc overridable

This commit is contained in:
mc-fucker 2023-11-07 10:22:32 +01:00
parent 81bca4e2a7
commit b93a119776

View file

@ -118,8 +118,8 @@ in
#virtualisation.podman.autoPrune.enable = config.virtualisation.podman.enable;
nix.gc = {
automatic = true;
options = "--delete-older-than 2d";
automatic = lib.mkDefault true;
options = lib.mkDefault "--delete-older-than 2d";
};
boot.cleanTmpDir = true;