r/Qubes • • 21h ago

fluff Building a Qubes and NixOS based hypervisor OS

Thumbnail github.com
20 Upvotes

Hello everyone!

I use NixOS for declarative configuration and rollback. I'm also a big fan of the QubesOS-Xen-VM isolation architecture (Xen hypervisor with separate VMs for networking, USB, GUI, work, personal, etc.).

I've been experimenting with building a hypervisor OS like QubesOS, but where every VM runs NixOS and the whole machine can be rolled back and configured like NixOS. I'm calling the project AirlockOS.

Currently working features:

  • NixOS by default in every VM (including dom0).
  • Nix full-system rollback and generations.
  • Global shared Nix store with per-VM closures so each VM's software surface is minimal (using EROFS).
  • Rust everywhere. AirlockOS apps/services are written in Rust. Instead of writing Nixlang for system integration, I created the Rusix library (Rust compiled down to Nixlang) so that I could configure everything in Rust too. Then I can share types between the configuration code and the app code. I'm trying to use strong opaque types and Verus as much as I can.
  • Latest GNOME in the sys-gui VM, with workspaces as VM boundaries.

I've managed to reuse lots of Qubes software. But the whole thing is super experimental! It runs off USB right now.

Anyway, it's been a lot of fun so far. I hope to make this my daily driver soon so that I can keep working on it as part of my routine.

See a screencast demonstrating VM isolation in GNOME here: https://github.com/airlockos-org/airlockos

(I use AI to build this software.)


r/Qubes • • 21h ago

Announcement QSB-125: Incorrect ordering of page-freeing and p2m flush (XSA-535)

Thumbnail qubes-os.org
6 Upvotes

r/Qubes • • 21h ago

Announcement XSAs released on 2026-11-26

Thumbnail qubes-os.org
4 Upvotes