I made a dual-bootable NixBSD (NixOS and FreeBSD) image
Details
- External ID
- 46812397
- Source
- HN
- Company
- —
- Product
- I made a dual-bootable NixBSD (NixOS and FreeBSD) image
- Website domain
- github.com
- Launched
- Jan. 29, 2026
- Cohort
- —
- Upvotes
- 9
- Upvotes percentile
- 0.461133069828722
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
I've been working on getting NixBSD (Nix package manager + FreeBSD) to boot alongside NixOS on a shared ZFS pool. The result is a <2GB disk image you can try in QEMU or virt-manager.What works: - GRUB chainloads FreeBSD's bootloader - Both systems share a ZFS pool - Everything is defined in a single Nix flake - Fully reproducible builds (some dependencies are now cached on Cachix) Planned: - Support native compilation of NixBSD (currently cross-compiled on Linux) - Many shortcuts were taken to get this working, needs lots of cleanup - Add a semi-automated installer like nixos-wizard Try it: qemu-system-x86_64 -enable-kvm -m 2048 \ -bios /usr/share/ovmf/OVMF.fd \ -drive file=nixos.root.img,format=raw Login: nixos/nixos or root/toorThe hardest parts were getting mounts working at boot, making the bootloader setup idempotent, and debugging early init. This disk image could potentially work on a USB stick with a bit more work.This is very much experimental. My goal is to eventually produce a proper NixBSD installation ISO and consolidate all configuration into one repository while still consuming upstream NixBSD as a flake.Download: https://github.com/jonhermansen/nixbsd-demo/releases/tag/bui...Feel free to leave feedback here or on GitHub! Thanks!
Enrichment
- Theme
- file transfer and sharing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- dual-bootable nixbsd image
- Manually corrected
- False
Could you build this?
No Creating a bootable disk image with NixOS and FreeBSD sharing a ZFS pool requires specialized operating system, bootloader, and filesystem engineering.
What it would actually take: Requires deep understanding of FreeBSD kernel bootloaders, GRUB chainloading, and ZFS on Linux (ZoL) vs FreeBSD OpenZFS feature flag compatibility. The builder must write custom Nix derivations that bootstrap FreeBSD userland alongside NixOS system configurations and construct raw partition tables. This demands deep OS kernel, filesystem, and systems software domain expertise.
Discussion
2 comments analyzed.
Competitors mentioned: FreeBSD, OpenBSD, NetBSD, Cygwin, ReactOS
Concerns raised: OpenBSD NixOS support is bitrotted
Feature requests: NetBSD ZFS boot support, Cygwin support, ReactOS NixOS-ification
Competitors
Other products that read as similar to this one — 181 launches clear the similarity bar, closest 8 shown.
Attention rank: #109 of 182 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 82 days after the earliest competitor.
- NixOS-DGX-Spark · hn · 2026-08-02 · 132 upvotes · similarity 0.52
- Linux installer .exe without pendrives (secure-boot compatible) · hn · 2026-04-21 · 5 upvotes · similarity 0.51
- Grsh · hn · 2026-01-14 · 50 upvotes · similarity 0.48
- Nucleus · hn · 2026-06-09 · 40 upvotes · similarity 0.47
- Nix on Windows –- proof-of-concept demo · hn · 2026-03-12 · 9 upvotes · similarity 0.47
- Darnix · hn · 2026-05-22 · 13 upvotes · similarity 0.45
- machine0 · hn · 2026-06-15 · 96 upvotes · similarity 0.44
- Kern · hn · 2026-08-24 · 70 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.