Skip to content

Commit

Permalink
chore: use nh for system cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 23, 2024
1 parent 1ffb22a commit 8b8418b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ repair: (verify "--check-contents --repair")
# clean the nix store and optimise it
[group('dev')]
clean:
nh clean all -K 3d
nix store optimise

[private]
[group('dev')]
oldclean:
nix-collect-garbage --delete-older-than 3d
nix store optimise

Expand Down

0 comments on commit 8b8418b

Please sign in to comment.