25 points zener79 2 hours ago 15 comments
frostbyte64 1 hour ago | parent
rafram 1 hour ago | parent
Hasz 1 hour ago | parent
Eg MAAS, Satellite for the older, commercially relevant versions.
It usually goes Netboot/PXE -> base/golden image for general config, -> some flavor off one-off customize (eg insert one user ssh keys), then boot and monitor until repeat.
I think golden image generation is an ugly problem, and a IaC/declarative process that NixOS provides is a good fix. A few things that are missing, imo:
1. non-privileged account management. gracefully providing, degrading, and escalating sudoers on a linux system is not so easy.
2. time-to-machine is slow; a reimage takes a while. A reasonable compromise is thin clients booting ephermeral VMs or containers, but perhaps not a good fix here.
3. Drift -- if you give users sudoer, config will drift. Reconciling it is not easy or obvious, especially if they remove your agent. Ansible is OK here.
4. setup: most people (and even some agents because of lack of feedback loop) suck at debugging network failures related to PXE, and stuff like dhcp relay is a PITA to setup. It gets worse if your machines do not have IPMI/OOB management. Cheap KVM would be a nice integration.
zener79 51 minutes ago | parent
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.
pmarreck 13 minutes ago | parent
eniac111 58 minutes ago | parent
Imustaskforhelp 55 minutes ago | parent
eniac111 53 minutes ago | parent
zener79 48 minutes ago | parent
If I understand well it's a different approach: an agent on every desktop that enforce policies on a normal distro, and fix the drift when it happens.
With NixOS I don't manage single setting, the whole system is built from one description, so there is no agent and basically zero drift . Also for a school lab I need some different things, like clients with no internet, home reset at every boot and the classroom view for the teacher.
Imustaskforhelp 57 minutes ago | parent
My mind sort of went into having cutefish-os[0] like thing on top of nixos so that every sort of device can get a macOS like interface which I think that students might be able to enjoy more.
There are tons of things which can be interesting in this, but I have got a question: from the video linked, I am worried about the privacy aspect of things. It mentioned being able to monitor people's screens and as currently a student myself, I feel a little uneasy about losing privacy. I'd prefer if this is not the case personally for me though I also understand and can imagine use cases where it can be more important and the teacher can sort of help the students through his own desk rather than coming around. Still, I dont know what to make of this feature to be really honest with you.
I also love that you tried it in daily use at your school's labs. I don't think that my labs would allow this type of thing otherwise I might tinker the same
zener79 43 minutes ago | parent
The "classroom manager" only works on the school lab PCs, obiovsly never on personal devices. The screens are live and nothing is recorded, a file is saved only if the teacher take a screenshot and it stays on the controller, nothing leave the lab network.
When the teacher has the view open GNOME shows the screen sharing icon on the student screen, so you always know when someone is looking.
The most important part is that if a school (or the lab manager) doesn't want it, it can turn it off completely in the settings.
In my experience it's used mostly the way you said, helping a student from the desk or showing one screen to the class instead of walking around. Still, I understand it can feel strange from the other side.
About cutefish: the desktop is just part of the configuration, so a different look is possible. For now Nixorium ship GNOME.
dpz 56 minutes ago | parent
pkulak 8 minutes ago | parent
Now, I _could_ have gone with NixOS instead of Debian as the host. Actually, that probably would have been better. But I would still make it a NixOS system that manages a bunch of docker-compose folders.
sogoh 46 minutes ago | parent
zener79 41 minutes ago | parent
The main thing is the management of the lab: all the PCs are installed and updated from one NixOS configuration on the controller, so every PC is the same, you can add software or change the desktop once for all even if they can not go to internet (or if they go only after a login to the school proxy), and go back if an update goes wrong. It mainly replaces the Clonezilla images and the manual work, not the remote control.