From c9954c009afee4948b2c2262249d06f35225facb Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 12 Aug 2024 17:56:46 +0800 Subject: [PATCH] chore: justfile - gc - delete old than 7 days --- Justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 476801fc..8dea2a8e 100644 --- a/Justfile +++ b/Justfile @@ -55,13 +55,13 @@ clean: gc: # garbage collect all unused nix store entries # NOTE: it's a system-wide garbage collection, but it seems won't affect home-manager's gcroot on darwin - sudo nix-collect-garbage --delete-old + sudo nix-collect-garbage --delete-older-than 7d [group('nix')] gc-home: # garbage collect all unused nix store entries(for the user - home-manager on nix-darwin) # https://github.com/LnL7/nix-darwin/issues/237 - nix-collect-garbage --delete-old + nix-collect-garbage --delete-older-than 7d # Enter a shell session which has all the necessary tools for this flake [linux]