Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
I'm looking at what all is using space on my machine rn, and noticing that nix is taking 22 gb; i suspect that there is some stuff in there that could be cleaned up
any advice on how to go about handling this?
i'm running nix optimise-store rn
Have you done nix-collect-carbage? (with appropriate options)
nix-collect-carbage
sudo nix-collect-garbage --delete-older-than 7d
1TB is the recommended disk space on a developer laptop running NixOS for this reason. :-)
Oh, and also nix-du might be useful
nix-du
thank you, these helped.
I'm looking at what all is using space on my machine rn, and noticing that nix is taking 22 gb; i suspect that there is some stuff in there that could be cleaned up
any advice on how to go about handling this?
i'm running nix optimise-store rn
Have you done
nix-collect-carbage
? (with appropriate options)sudo nix-collect-garbage --delete-older-than 7d
1TB is the recommended disk space on a developer laptop running NixOS for this reason. :-)
Oh, and also
nix-du
might be usefulthank you, these helped.