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'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.
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
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.
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 know my old IT school in France, EPITA, is also using nixos in the labs. Also using torrenting to propagate updates
https://thymis.io/ is another NixOS fleet manager
actually pretty cool!
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
sigh
I had the same thing with.. ZX? YAMAHA? in 1993
sigh
[dead]
[dead]
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.