sane-reclaim-disk-space: include delete-older-than 30d
argument
This commit is contained in:
parent
83f2438739
commit
a62852072e
|
@ -46,7 +46,7 @@ if [ $do_gc = true ]
|
||||||
then
|
then
|
||||||
# TODO: do we need `sudo` here?
|
# TODO: do we need `sudo` here?
|
||||||
# TODO: `nix-store --gc`?
|
# TODO: `nix-store --gc`?
|
||||||
sudo nix-collect-garbage
|
sudo nix-collect-garbage --delete-older-than 30d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $do_rmlint = true ]
|
if [ $do_rmlint = true ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user