nix-darwin
Hacker ApprovedSystem configuration tool in Developer tools
People recommend it for fast, reproducible Mac setup that brings NixOS-style declarative configuration to macOS. Common caveat: steep learning curve and up-front time investment.
People recommend it for fast, reproducible Mac setup that brings NixOS-style declarative configuration to macOS. Common caveat: steep learning curve and up-front time investment.
53 people gave an opinion
- recommend it
- 41
- criticize it
- 12
- approval share
- 77%
Recommended in 11 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Owned for 2 years
Median of the 6 owners who said how long they have had it.
Each square is one year.
Why it carries the badge
- 41 people recommend itNeeds 10 or more, met.
- 3.4 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 11 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Fast, simple new machine setup
“I'll continue using nix, and especially nix-darwin, _solely_ because it let me set up a new machine in under 5 minutes and hit the ground running.”
Comment from 30 Nov 2025 in “NixOS 25.11 released” “nix-darwin solves a lot of those pains. Not all of them, but it makes initial setup a lot simpler and faster.”
Comment from 3 Apr 2026 in “Tailscale's New macOS Home” “new machines get completely provisioned in minutes”
Comment from 17 Feb 2026 in “Show HN: OpenBoot – 2 commands to replace a 3-hour Mac setup ritual” Declarative config for macOS and packages
“allows you to declaratively manage all your macos settings too”
Comment from 19 Nov 2025 in “Strace-macOS: A clone of the strace command for macOS” “I use nix-darwin and also manage my homebrew packages with it. Maybe you can take a look at that.”
Comment from 11 Jun 2026 in “Homebrew 6.0.0” “Now with LLMs, I'm using nix-darwin and home-manager for dotfiles, package management”
Comment from 22 May 2026 in “Antigravity 2.0 Tops the OpenSCAD Architectural 3D LLM Benchmark” Brings NixOS modules to Mac
“You need something reliable AND reconfigurable for that; NixOS (or nix-darwin on Mac) offers both.”
Comment from 1 Jul 2026 in “NixOS 26.05 Released” “I loved nix so much that I also migrated to nix on macOS”
Comment from 22 Mar 2026 in “Why I love NixOS” “make it almost the same as my desktop pc”
Comment from 11 Mar 2026 in “MacBook Neo Review: No Other Budget Laptop Can Compete” Reliable, reproducible, stable results
“my nix-darwin config is pretty nice and perfectly hermetic and reproducible”
Comment from 13 Nov 2025 in “Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software” “You need something reliable AND reconfigurable for that; NixOS (or nix-darwin on Mac) offers both.”
Comment from 1 Jul 2026 in “NixOS 26.05 Released” “I find it to be far more stable.”
Comment from 8 Oct 2026 in “Zerobrew: A faster alternative to Homebrew”
What people warn about
Each mark is one comment
Steep learning curve, hours lost
“tens of (guaranteed) hours trying to climb up the nix learning cliff”
Comment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin” “I spent a decent amount of hours (7+) trying to setup nix on my mac with nix-darwin, and failed.”
Comment from 30 Nov 2025 in “NixOS 25.11 released” Breaks after macOS or release updates
“MacOS updates broke Nix often enough that I usually would spent some time every week reinstalling it.”
Comment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin” “my nix setup breaks every major release”
Comment from 19 Oct 2026 in “What the heck is /pkg?” Hard to set up or customize
“struggled to get it to work in the way I wanted”
Comment from 30 Jun 2026 in “NixOS 26.05 Released” “I still find nix-darwin a step too far”
Comment from 3 Jan 2026 in “Linux is good now; to feel like you actually own your PC, put Linux on it” Large disk use, poor cleanup
“poor docs, huge default disk usage, non-trivial to customize, etc.”
Comment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin” “the default vanilla install does not garbage collect well”
Comment from 23 Jul 2026 in “NixOS is more complicated than you think but OpenCode fixed it”
What people said
40 of the 60 comments that mention it, newest first. Each links to the original comment.
“nix-Darwin is great, but it doesn’t really make sense in combination with brew”
“my nix setup breaks every major release”
“I find it to be far more stable.”
“have nix-darwin to bring my existing setup to mac so it's not jarring most of the time”
“the default vanilla install does not garbage collect well”
“Ever since I switched from dotfiles to nix-darwin I've fallen into the rabbit hole”
“You need something reliable AND reconfigurable for that; NixOS (or nix-darwin on Mac) offers both.”
“struggled to get it to work in the way I wanted”
“I use nix-darwin and also manage my homebrew packages with it. Maybe you can take a look at that.”
“Now with LLMs, I'm using nix-darwin and home-manager for dotfiles, package management”
“Tell your favorite llm to set up https://github.com/nix-darwin/nix-darwin with home manager if you are on mac”
“nix-darwin solves a lot of those pains. Not all of them, but it makes initial setup a lot simpler and faster.”
“Each has its own "idea" of what modules are and nix itself doesnt provide this natively.”
“I loved nix so much that I also migrated to nix on macOS”
“make it almost the same as my desktop pc”
“insanely how the customized workflow can improve productivity”
“Nix-Darwin is the right call if you're willing to invest the upfront time.”
“new machines get completely provisioned in minutes”
“I still find nix-darwin a step too far”
“It's not the perfect reproducible purists machine due to homebrew and Mac designs but it doesn't really need to be”
“The combo gives you options and is a strict superset of what you can do with homebrew or nixpkgs alone.”
“I've been overall fairly happy, and for tinkerers would recommend giving it a shot.”
“It's still worthwhile though, since part of the "tightly-controlled" means better cleanup when you remove things.”
“At that point, nix-darwin + dev shells becomes infrastructure, not a hobby.”
“I have experienced a positive return on investment from using Nix Darwin and devenv.sh”
“poor docs, huge default disk usage, non-trivial to customize, etc.”
“After climbing the initial mountain, its been very satisfying and things just work.”
“MacOS updates broke Nix often enough that I usually would spent some time every week reinstalling it.”
“nix-darwin is essentially this. I have a small bootstrap script to install Xcode CLI and Nix”
“I have updated since updated macos to 26.2 through the normal method”
“tens of (guaranteed) hours trying to climb up the nix learning cliff”
“If you are interested in Nix but dont want to abandon MacOS you should check out Nix Darwin.”
“some issues getting the correct versions of dependencies installed”
“I've managed to get a repo setup which contains a nix flake with nix-darwin configuration”
“nix-darwin at its core is a somewhat underbaked port of nixos to mac OS with the same very useful module system”
“I spent a decent amount of hours (7+) trying to setup nix on my mac with nix-darwin, and failed.”
“I'll continue using nix, and especially nix-darwin, _solely_ because it let me set up a new machine in under 5 minutes and hit the ground running.”
“allows you to declaratively manage all your macos settings too”
“my nix-darwin config is pretty nice and perfectly hermetic and reproducible”
“Nix-Darwin and home-manager have been game changers”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.