3 ms·
Nix is one of those rocket-powered chainsaw tools that you run into, and while it still scares me (and I often worry about accidentally cutting off a limb), it'
by smoldesu 4y ago
Nix is one of those rocket-powered chainsaw tools that you run into, and while it still scares me (and I often worry about accidentally cutting off a limb), it's much nicer to use than Homebrew. The only caviat is that your Nix store can get enormously huge, which is a big problem on Apple devices where storage comes at a premium.
- yjftsjthsd-h 4y agoI would naively expect that if you run garbage collection on a regular basis that it should take no more space. Is that not true, or is running it on a regular basis the sticking bit?
- smoldesu 4y agoI suppose you could, but Nix (and NixOS) defaults to keeping packages for an insane amount of time. 3 months of regular Nix use can accrue ~300gb of packages, which is definitely not what you'd have on something like Homebrew.
- pxc 4y agoBy default don't they keep old generations (and thus previously-installed packages) literally forever?
- quag 4y agoDoes nix and NixOS ever run the GC for you? I’ve always found that I have to manually run it at a time and place of my choosing.
- VTimofeenko 4y agoCheck out the option 'nix.gc.automatic'. It's set to false by default.
- phantomathkg 4y agoCan't you just run nix-collect-garbage?