From a62852072e17e960804d5ce80f99e6964ecbfb0e Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 2 Jul 2023 11:59:37 +0000 Subject: [PATCH] sane-reclaim-disk-space: include `delete-older-than 30d` argument --- pkgs/additional/sane-scripts/src/sane-reclaim-disk-space | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/additional/sane-scripts/src/sane-reclaim-disk-space b/pkgs/additional/sane-scripts/src/sane-reclaim-disk-space index 7f2df1df..108b5f95 100755 --- a/pkgs/additional/sane-scripts/src/sane-reclaim-disk-space +++ b/pkgs/additional/sane-scripts/src/sane-reclaim-disk-space @@ -46,7 +46,7 @@ if [ $do_gc = true ] then # TODO: do we need `sudo` here? # TODO: `nix-store --gc`? - sudo nix-collect-garbage + sudo nix-collect-garbage --delete-older-than 30d fi if [ $do_rmlint = true ]