Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs (opens external site)

113 points by zener79 8 hours ago github.com 43 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (6)

  1. Thanks! I'm the author, I teach in an italian high school.

    In early 2026 I moved the labs to NixOS. Before that I used Clonezilla and Ansible plus a lot of manual steps. Over the following months that setup slowly turned into Nixorium, and we have used it every school day since.

    My two big problems were drift, and that the clients had not internet until someone logged in to the school proxy. So Nixorium is much more narrow than MAAS: one lab, one controller, normal PCs, only the controller needs internet.

    Regarding your points:

    1. Fixed accounts: admin with sudo, teacher and student without. Users are declarative and root on the clients only accepts the controller key. No escalation on purpose, students never need root.

    2. No reimage for updates. The controller builds once and serves a local cache, every PC download only what changed (no internet needed on the clients), usually without reboot, with rollback to the previous generation. After a big NixOS update it's still some GB per PC tho.

    3. Drift: no root for students, declarative system, student home reset at every boot. No agent to remove, the controller push over SSH.

    4. Agree, PXE is the painful part. The school DHCP keeps giving addresses, the controller only answers the network boot (dnsmasq proxy mode) during an install session, so no relay. If PXE is not possible there is a USB install over SSH. No IPMI on school PCs, we use Wake-on-LAN. A cheap KVM for the boot screen is a nice idea.

    Replies (4)
    1. Great use-case (and showcase) of why NixOS is powerful
    2. I believe you shared this on reddit this quite some time ago, a post I truly appreciated reading. I already even pointed people to it in other threads! I have a huge respect for anyone running IT in schools, so seeing you putting this much effort on building this setup... kudos.
      Replies (1)
      1. Thank you, really appreciated :-) Yes, I posted it on Reddit some time ago. Knowing that people point others to it is the best feedback I can get!
    3. nice, glad it is working well for you. no sudo for students makes things easier. Can always give them VMs or LXCs on the machines for elevated build environments!
    4. > 2. No reimage for updates.

      Uh, so when a student gains root from a local exploit - they are free to install a persistent backdoor - at bios/UEFI or grub/kernel level?