parsons: fix nix auto gc

This commit is contained in:
stuebinm 2023-02-15 21:23:44 +01:00
parent 9185f3e0ab
commit 26f91fac20

View file

@ -17,7 +17,7 @@
MaxRetentionSec=48h
'';
nix.gc.automatic = lib.mkDefault true;
nix.gc.options = lib.mkDefault "--delete-older-than 1w";
nix.gc.options = lib.mkDefault "--delete-older-than 7d";
nix.settings.trusted-users = [ "root" "@wheel" ];
nix.extraOptions = ''
experimental-features = nix-command flakes