I’m curious about how to garbage collect the nix store (/nix/store).
In the past I ran nix-collect-garbage -d. I might have also manually debugged which derivations held on to references too.
So how do you garbage collect the nix store these days?
I found nix store gc. Is that the equivalent or are there other things I should be doing?
I don’t see why one shouldn’t use nix-collect-garbage tbh, especially considering that the Nix CLI is considered experimental in 2.4 and thus subject to change.