frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I made a dual-bootable NixBSD (NixOS and FreeBSD) image

https://github.com/jonhermansen/nixbsd-demo
3•jonhermansen•1h ago
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/toor

The 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!

Comments

Ericson2314•1h ago
Jon has showed me this before, and I'm very exited!

Multiple kernels, one filesystem is the dream. We'll restore competition between kernels by lowering switching costs to zilch, finally solving the problem in the infamous Rob Pike paper (which is that the switching costs make the path dependency of "just keep working on the same legacy-constrained OS" too powerful).

FreeBSD is just the first non-Linux kernel to be done this way --- OpenBSD has been NixOS-ified too (a bit bitrotted atm though) too. Your favorite kernel can be NixOS-ified too!

jonhermansen•1h ago
John,

Thank you for supporting and encouraging me to push the envelope further.

NixBSD was already in great shape, I just wanted to add a little bit of polish and make it easier for people to consume. I hope that the demo may help get others interested and to get set up locally.

I would like to add support for additional kernels. I heard that NetBSD can also boot from ZFS, but I haven't worked out all the details yet. I might like to experiment with that some time.

I've also been keeping an eye on Cygwin support, and it would also be quite interesting to NixOS-ify ReactOS :p

AI's Impact on Engineering Jobs May Be Different Than Expected

https://semiengineering.com/ais-impact-on-engineering-jobs-may-be-different-than-initial-projecti...
1•rbanffy•31s ago•0 comments

VMware Fusion 25H2 with M3 Memory Leak

https://community.broadcom.com/vmware-cloud-foundation/discussion/vmware-fusion-25h2-with-m3-memo...
1•l2dy•55s ago•0 comments

Apple buys Israeli startup Q.AI for close to $2B in race to build AI devices

https://www.ft.com/content/49f4e2e4-3a68-4842-be67-879409d06aa1
1•totaldude87•2m ago•0 comments

The Art of Engineering Management

https://taoem.com/
1•samixg•2m ago•0 comments

Things I Learned from Peter Steinberger About Building with AI

https://twitter.com/garysheng/status/2016931917145190869
1•pretext•3m ago•0 comments

Microsoft is working to rebuild trust in Windows

https://www.theverge.com/tech/870045/microsoft-windows-11-issues-rebuilding-trust-notepad
1•timpera•3m ago•1 comments

Fossil Fuels Are Doomed

https://theconversation.com/fossil-fuels-are-doomed-and-trump-cant-save-them-273798
2•evolve2k•3m ago•0 comments

Spend? or END. The aeonian debate of supply

https://bryonyoni.substack.com/p/spend-or-end
1•bryonyoni•4m ago•0 comments

The Lost Science of the Ajna Chakra [video]

https://www.youtube.com/watch?v=dFy6923KMvs
1•luskira•6m ago•0 comments

Ask HN: What are SSI/Thinking Machines working on?

1•nemath•8m ago•0 comments

Show HN: 41 Stars New AI – MIT License. Zero Hallucinations (For Real)

https://github.com/merchantmoh-debug/Remember-Me-AI
2•MohskiBroskiAI•9m ago•0 comments

AI Subs

1•aikompute-com•10m ago•0 comments

Amazon's Promotion of 'Melania' Has Critics Questioning Its Motives

https://www.nytimes.com/2026/01/28/business/media/amazon-melania-trump-film-critics.html
3•JumpCrisscross•11m ago•0 comments

Pakistan becomes latest Asian country to introduce checks for deadly Nipah virus

https://www.reuters.com/business/healthcare-pharmaceuticals/pakistan-becomes-latest-asian-country...
1•JumpCrisscross•14m ago•0 comments

GNU Gettext Reaches Version 1.0 After 30 Years in Development

https://www.phoronix.com/news/GNU-gettext-1.0
3•marcodiego•17m ago•0 comments

Drop your URL. I will Analyze and give FREE SEO tips

1•itsjoaki•17m ago•1 comments

Game jam for high schoolers in 200 cities

https://campfire.hackclub.com/
1•sadeshmukh•18m ago•0 comments

Show HN: Cueso – iPhone app for location-based grocery reminders

1•riqbal4•19m ago•1 comments

Mugabo Rongin

https://github.com/Ronny12345-art/MRcutter
1•Davidbombal•19m ago•1 comments

The New Shadowbanning Panic

https://www.theatlantic.com/technology/2026/01/tiktok-shadowbanning-trump/685798/
3•JumpCrisscross•20m ago•1 comments

How British Queues Got Out of Hand

https://timharford.com/2026/01/how-british-queues-got-out-of-hand/
3•asplake•21m ago•0 comments

Ask HN: Bookmarking service with snapshots and context based (local LLM?) search

1•haunter•21m ago•0 comments

Email Security: Where We Are and What the Future Holds

https://www.privacyguides.org/articles/2025/11/15/email-security/
3•evolve2k•21m ago•0 comments

Google Co-Founder Seeds Billionaire Political Effort Amid Wealth Tax Debate

https://www.nytimes.com/2026/01/28/us/politics/california-billionaires-sergey-brin-campaign.html
2•mitchbob•21m ago•1 comments

Why California is keeping this unusual solar plant running

https://www.latimes.com/environment/story/2026-01-11/trump-biden-both-want-this-california-solar-...
1•PaulHoule•22m ago•0 comments

When Cloud Came to Stay at the Village Bed and Breakfast

https://www.robpanico.com/articles/display/?entry_short=when-cloud-came-to-stay-at-the-village-be...
1•retrocog•22m ago•1 comments

How Norway Accomplished a Near-Total EV Transition

https://spectrum.ieee.org/norway-ev-policy-electric-vehicles
2•pseudolus•23m ago•0 comments

CW/Morse Code Trainer Inspired by G4FON

https://github.com/jhnhnsn/headcopycw
1•jhnhnsn•23m ago•1 comments

How to Bring Back the American Dream

https://www.nytimes.com/2026/01/28/opinion/american-dream-poverty.html
2•mitchbob•23m ago•1 comments

Developmental convergence and divergence in human stem cell models of autism

https://www.nature.com/articles/s41586-025-10047-5
1•bookofjoe•24m ago•0 comments