Show HN: Darnix – Darwin Built with Nix
A revival of PureDarwin, building a standalone OS on Apple's open-source Darwin layer with Nix managing everything above the kernel, effectively a Nix OS on XNU instead of Linux. It addresses the difficulty of building XNU due to proprietary tooling and lack of build systems.
View Origin Link
Product Positioning & Context
AI Executive Synthesis
A revival of PureDarwin, building a standalone OS on Apple's open-source Darwin layer with Nix managing everything above the kernel, effectively a Nix OS on XNU instead of Linux. It addresses the difficulty of building XNU due to proprietary tooling and lack of build systems.
Darnix addresses a significant challenge in the open-source community: the practical usability of the Darwin kernel (XNU) outside of Apple's ecosystem. By leveraging Nix, the project provides a reproducible, sandboxed build environment for XNU and its dependencies, overcoming issues with proprietary tooling and missing build systems. This initiative revives the concept of a standalone Darwin-based OS, offering an alternative to Linux-based NixOS. While currently in early stages (kernel boots, runs static binary), its long-term potential lies in fostering a new open-source operating system ecosystem built on Apple's core technologies, appealing to developers and researchers interested in OS internals and alternative system architectures.
The Darwin kernel (XNU) has been open source since 1999. But "open source" and "you can actually build and boot it" are very different things. XNU depends on proprietary tooling, kexts, and a bunch of open source projects published without a build system.Darnix builds the whole thing with Nix. The kernel, the filesystem, the boot image, all the way to a running QEMU instance. We patched XNU to run on QEMU without kexts, ported HFS+ from a kernel extension into the kernel itself, fixed GRUB's Mach-O loader, and wired it all together as a flake. The build is fully sandboxed. No root, no volume mounting, no device access, no network.The bigger idea is a revival of PureDarwin (https://www.puredarwin.org/), a standalone OS on Apple's open source Darwin layer, with Nix managing everything above the kernel. Sort of like a Nix OS on XNU instead of Linux.Right now the kernel boots, mounts a ramdisk, and runs a single static binary. Next step is a shell.https://github.com/jonhermansen/darnixTechnical details and the full list of patches are in the README. I would love to hear from anyone who’s thought about this space!---Darnix is not affiliated with or endorsed by Apple Inc. This is not macOS. Apple, macOS, and related trademarks are the property of Apple Inc. Darwin is licensed under the APSL.
Darwin kernel
XNU
open source
proprietary tooling
kexts
build system
Nix
filesystem
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Darnix – Darwin Built with Nix?
Darnix – Darwin Built with Nix is analyzed by our AI as: A revival of PureDarwin, building a standalone OS on Apple's open-source Darwin layer with Nix managing everything above the kernel, effectively a Nix OS on XNU instead of Linux. It addresses the difficulty of building XNU due to proprietary tooling and lack of build systems.. It focuses on Darnix addresses a significant challenge in the open-source community: the practical usability of the Darwin kernel (XNU) outside of Apple's ecosys...
Where did Darnix – Darwin Built with Nix originate?
Data for Darnix – Darwin Built with Nix was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Darnix – Darwin Built with Nix publicly launched?
The initial public indexing or launch date for Darnix – Darwin Built with Nix within our tracked developer communities was recorded on May 23, 2026.
How popular is Darnix – Darwin Built with Nix?
Darnix – Darwin Built with Nix has achieved measurable traction, logging over 9 traction score and facilitating 1 recorded discussions or engagements.
Which technical categories define Darnix – Darwin Built with Nix?
Based on metadata extraction, Darnix – Darwin Built with Nix is categorized under topics such as: Darwin kernel, XNU, open source, proprietary tooling.
How does the creator describe Darnix – Darwin Built with Nix?
The original author or development team describes the product as follows: "The Darwin kernel (XNU) has been open source since 1999. But "open source" and "you can actually build and boot it" are very different things. XNU depends on proprietary tooling, kexts, and a bunch..."
Community Voice & Feedback
Discovery Source

Hacker News
Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.