Nix
Purely functional package manager and build system for reproducible, declarative software environments.
HN commenters like Nix for reproducible, declarative dev environments123, as a more stable Homebrew replacement on macOS45, and for easy rollbacks after breaking changes.678 The most common complaint is a steep learning curve with poor documentation and awkward UX91011, though several users say LLMs now make writing the config manageable.121314
Why people recommend it
Reproducible environments · 3
Declared tools and dependencies keep dev machines, CI and deployment consistent.
“The number one power move I have is Nix integration.”
“For me what worked wonders was adopting Nix.”
Show 1 more
“I handle polyglot monorepos using Nix.”
Agents and LLMs · 3
LLMs help write Nix config, and Nix provides controlled environments for coding agents.
“I use an agent to author my nix config - personally I don't have the determination to have picked Nix up entirely on my own so I find it to be a godsend.”
“This general idea is exactly why I love nix. The immutability of it is powerful.”
Show 1 more
“But with an LLM I'm pretty happy with nix.”
Homebrew replacement · 3
Used with nix-darwin and Home Manager as a steadier package manager on macOS.
“Nix isn’t for everyone, but I find it to be far more stable.”
“since using nixpkgs for my macos dev requirements it's been so much nicer.”
Show 1 more
“For CLI stuff I use Nix, Home-Manager and Nix-Darwin.”
Rollbacks · 3
Users can break the system and roll back to a previous configuration easily.
“it’s insanely liberating to know how easy it is to screw everything up and roll it back trivially”
“It's definitely not beta software.”
Show 1 more
“Check out Nix and NixOS.”
Multi-machine config · 3
One config kept in git can set up several machines quickly.
“I use an agent to author my nix config - personally I don't have the determination to have picked Nix up entirely on my own so I find it to be a godsend.”
“I use nix via flakes on my own machines (via NixOS), in my projects (with direnv)”
Show 1 more
“Ever since I migrated my dev workflow to nix package manager (and home manager for system depa), my life became simpler like 10 times”
Package library · 2
Seen as more polished than Guix, with a larger package library and easy static binaries.
“I've had to stick with Nix because its more polished with a large library of packages.”
“the one killer feature Nix has that Guix doesn’t is making a single static binary of common programs”
Caveats and dissent
Learning curve · 3
Commenters find it large, complex, poorly documented and hard to remember.
“found it a bit daunting (large, complex, poorly documented, and felt hard to partially adopt)”
“I'll stick with it as I didn't find anything better and LLMs are great for building up the config over time”
Show 1 more
“Not even to mention how quickly Nix can get annoying.”
Partial adoption · 3
Mixing Nix with non-Nix tools or prebuilt pieces gets hard, and adoption can require reworking workflows.
“it starts making life hard”
“found it a bit daunting (large, complex, poorly documented, and felt hard to partially adopt)”
Show 1 more
“Artifactory/Nix are heavy (they require rebuilding your workflow or hosting servers).”
Broken systems · 3
Some report bricked or broken setups or wasted time trying it.
“Last time I used Nix on my MacBook a few years ago it seemed to brick my whole system”
Show 1 more
“I even tried nix and wasted a day on that!”
Team adoption · 1
Hard to propose at work because most engineers are unfamiliar with it.
“Nix and home-manager do not.”
Ecosystem rough edges · 2
Some ecosystem projects are called sloppy, and cross-compiling got harder after flakes.
“I would contend the nix ecosystem is sloppy”
“I love NixOS and Nix in general”
FreeBSD support · 1
Nix on FreeBSD was described as broken and unusable.
“Seems quite broken and unusable, which is a pity because nix on macOS seems decent.”
Often compared with
5 moved from Homebrew to Nix
1 moved from Nix to Homebrew
2 moved from Nix to mise
2 moved from GNU Stow to Nix
Who recommends it in their own words
From the makers not counted in the ranking
“Disclosure, fully Nix pilled Ron here from flox.dev and the NixOS foundation.”
Threads where it came up
- Nix wrote half of my debugger 6 mentions
- Homebrew 6.0.0 5 mentions
- Migrating from GNU Stow to Chezmoi 4 mentions
- Why I love NixOS 4 mentions
- NixOS is making me less afraid 3 mentions
- Nvidia wants to put a watchdog chip next to every AI agent 2 mentions
Data: nix.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 48
“Nix has become one of the ways I manage the environments for the LLMs.”
“I use nix-darwin and nix on CachyOS (and pretty much everything else”
“Guix being ideologically opposed to supporting macOS is what keeps me using Nix on my daily driver box.”
“snap + deb + nix nowadays”
“it’s insanely liberating to know how easy it is to screw everything up and roll it back trivially”
“It's definitely not beta software.”
“stories like these give me pause”
“Nix just had a way of leaving me super confused and stranded.”
“I wanted an agent to manage my machine’s configuration without giving it much access.”
“I use an agent to author my nix config - personally I don't have the determination to have picked Nix up entirely on my own so I find it to be a godsend.”
“all of this is in vresion control + nix; this is how I use dotfiles”
“Nix isn’t for everyone, but I find it to be far more stable.”
“I use Systemd containers in Nix. That’s really cool”
“(I use nix for this)”
“(I use nix for this)”
“it starts making life hard”
“nix-shell -p $PACKAGE”
“I use Nix to set up my entire desktop”
“Homebrew/nix: The most obvious one. MacOS just has no good package manager.”
“I routinely use 20-30 flake inputs for large system configurations and I've never really minded this at all.”
“I used Nix as a framework for a static website builder”
“It really is an awfully nice system, and shockingly modern in its sensibilities considering how old the Nix fundamentals are.”
“I use nix on macOS and any time it's making changes to /nix/store, the Finder and fsevents processes peg cpu.”
“it ended up being useful as a memory pressure test while working on a Nix evaluator implementation”
“Ever since I migrated my dev workflow to nix package manager (and home manager for system depa), my life became simpler like 10 times”
“I use nix + own configure script + ninja.”
“I even tried nix and wasted a day on that!”
“Not even to mention how quickly Nix can get annoying.”
“I make heavy use of Nix for various things”
“I've used this set up for 3 or 4 years now and love it.”
“Package manager: Nix(alternative to homebrew)”
“I might eventually make the jump to something like chezmoi or nix”
“I had had a pretty great experience building a Nix VM recently.”
“Nix and home-manager do not.”
“I had similar problems with GNU Stow, but switched to Nix and Home Manager instead.”
“I think Nix tried to unify this for people, but it arrived too close to LLMs”
“I love working with Nix so much I wish I could do it for a job”
“I use nix for my MacOS”
“We use Nix at work for all sorts of stuff.”
“But all it does is usually run defaults or some intermediatary.”
“The number one power move I have is Nix integration.”
“found it a bit daunting (large, complex, poorly documented, and felt hard to partially adopt)”
“I handle polyglot monorepos using Nix.”
“since using nixpkgs for my macos dev requirements it's been so much nicer.”
“I'll stick with it as I didn't find anything better and LLMs are great for building up the config over time”
“But with an LLM I'm pretty happy with nix.”
“Check out Nix and NixOS.”
“For me what worked wonders was adopting Nix.”