Show HN: I made a bootable NixBSD (NixOS and FreeBSD) image
github.com·5h·
Discuss: Hacker News
Preview
Report Post

NixOS + NixBSD Dual Boot

A reproducible dual-boot system combining NixOS and NixBSD on a single ZFS pool, with GRUB chainloading the FreeBSD bootloader.

What’s Inside

  • NixOS for the Linux environment and GRUB bootloader
  • NixBSD (FreeBSD 15) cross-compiled from Linux
  • Single flake managing both systems

Quick Start

Download the latest disk image from Releases and boot with:

# Using libvirt/virt-manager:
# - Firmware: UEFI
# - Disk bus: SATA
# - Attach the .img file as a disk

# Or with QEMU directly:
qemu-system-x86_64 \
-enable-kvm \
-m 2048 \
-bios /usr/share/ovmf/OVMF.fd \
-drive file=nixos.root.img,format=raw

Default credentials: nixos / nixos (or root / toor)

Buildin…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help