Fixes clean command

This commit is contained in:
Abhinav Sarkar 2024-09-13 14:50:53 +05:30
parent f4cf3fc6a3
commit e7f8f7b89d
1 changed files with 1 additions and 0 deletions

View File

@ -56,5 +56,6 @@ update: (_run "_update")
# clean up nix garbage
clean days="7":
home-manager expire-generations "-{{days}} days"
nix profile wipe-history --older-than "{{days}}d"
sudo nix-collect-garbage -d --delete-older-than {{days}}d
brew cleanup --prune {{days}}