From 16d2b746331e7a0dd48cd1248097ee56ef696c7b Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sun, 9 Nov 2025 09:14:59 +0800 Subject: [PATCH] =?UTF-8?q?Modify=20nix=20beyond=2030=20days.=E4=BF=AE?= =?UTF-8?q?=E6=94=B930=E5=A4=A9=E4=B9=8B=E5=A4=96=E7=9A=84nix=20Modify=20n?= =?UTF-8?q?ix=20beyond=2030=20days.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/clean.sh b/bin/clean.sh index 3cd48a8..7586b27 100755 --- a/bin/clean.sh +++ b/bin/clean.sh @@ -696,7 +696,7 @@ perform_cleanup() { # Nix package manager if command -v nix-collect-garbage > /dev/null 2>&1; then if [[ "$DRY_RUN" != "true" ]]; then - clean_tool_cache "Nix garbage collection" nix-collect-garbage -d + clean_tool_cache "Nix garbage collection" nix-collect-garbage --delete-older-than 30d else echo -e " ${YELLOW}→${NC} Nix garbage collection (would clean)" fi