Hacker News new | ask | show | jobs
by fareesh 81 days ago
doesn't it use up a lot of disk space compared to other distros because of the way everything is set up?
6 comments

Yes. But disk space isn't exactly the most valuable resource you have as a developer/power user
Yes, but you can also reclaim your space. I've configured nix to only store two latest revisions and have a ./switch.sh file that automatically clears everything up after applying nix.

I had issues when giving boot partition only 512mb, so I'd recommend going with 1G.

Yep disk space and learning curve are the two major downsides to Nix. The former has never been a problem for me in practice, just run garbage collection once a month. The latter was a big problem, but is now mitigated for most people by LLMs.
Disk space is not an issue as long as you don't try to install the entirety of Texlive.
Yes, however the space is not „used up” in a classic sense. It’s a cache, so you can give up some of it and reclaim your space. Fresh after a full cleanup it won’t take much more than a regular distro.
Use nix.optimise.automatic = true in the config and perform nix-collect-garbage if necessary. With this it doesn't take much.
actually once I garbage collect, nixos actually uses up less disk space for me than other distros