nix-collect-garbage

nix-collect-garbage

TLDR

Delete all store paths unused by current generations of each profile

>_ sudo nix-collect-garbage --delete-old
copy

Simulate the deletion of old store paths

>_ sudo nix-collect-garbage --delete-old --dry-run
copy

Delete all store paths older than 30 days

>_ sudo nix-collect-garbage --delete-older-than [30d]
copy

Copied to clipboard
free 100$ digital ocean credit