diff --git a/modules/nix.nix b/modules/nix.nix index 906a990..e113a65 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -7,15 +7,14 @@ _: { nh = { enable = true; - clean.enable = true; + clean = { + enable = true; + dates = "weekly"; + extraArgs = "--keep-since 3d --keep 5"; + }; }; nix = { - gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 7d"; - }; settings = { extra-experimental-features = ["flakes" "nix-command"]; warn-dirty = false;