Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs
- github.com
- By zener79
- 145 points
- 52 comments
Discussion
Source linksShowing up to 12 top-level comments in Hacker News order.
-
I have personally seen this idea be rebuilt about 10 different times, but I like it :) 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.
-
I adopted Nixos this year for my day to day driver and absolutely love it. I don't have a use case for fleet management atm but curious how people are using it in scale in production environments. I'm planning to spend some time over Christmas migrating my home lab set up to it would be interested to see people's approaches
-
I'd love to see universities adopt this kind of curation and publish it widely. I attend a no-name local college. Took a bioinformatics class. It was great, I learned a ton, but students were more or less on their own to manage their environment and it took up more than 50% of class time just working their way through conda hell. Much better would be something like this: > Ok class, we'll be using the 2025 Harvard Bioinfo Environment, so click this link and it'll set you up with a VM that's configured the way Harvard likes to do it.
-
A tool in the same space that's worth mentioning is DAWO-Sextant (https://codeberg.org/DAWO/DAWO-Sextant). It is still experimental but I use it to manage a small fleet of laptops and it works quite well
-
This software is a little bit like a remote control assistance software, but it support controlling massive PCs at sometime. Also, that is more like a supervisor, can connect to each others and exchange the information with others. However, I think these kind of software is quite common in market.
-
I think leaning into the use case of teachers-classroom is smart and really lets you optimize for that. I would focus on that and not let it drift into a generalized fleet management tool.
-
I'm looking forward to the day when I can present my personal solution so other people might be able to leverage it. My NixOS fleet consists of roughly two dozen hosts and spanning a wide range of roles. I need to work on finding a better level of abstraction. For example, changing my default Gnome keyboard shortcuts results in a huge CI test validating things like my Mikrotik provisioning automation, ZFS-backed impermanence, and whether or not my Mistral AI keys still work. The fact that it can do all this is amazing but my use of LLMs have really turned it into a kind of beast.
-
That brings back high school. I think the name of the program was Altiris Visions or something like that. Where the Teacher could see our screens and even black out our screens.
-
I like to see projects that use Netboot/PXE; Netboot/PXE is a powerful tool in production.
-
A NixOS fleet manager already in daily use at a school is a nice real-world signal - clean work.
-
I know my old IT school in France, EPITA, is also using nixos in the labs. Also using torrenting to propagate updates
-
And this is mine :) https://getbor.dev/