Show HN: Nixorium โ€“ NixOS fleet management, in daily use in my school's labs
Hacker News

Show HN: Nixorium - NixOS fleet management, in daily use in my school's labs

Nixorium manages a room of Linux PCs like one machine. One PC in the room, the controller, keeps a single description of the lab: computers, accounts, software and the student desktop. It installs and updates every student PC over the local network, so the student PCs need no Internet of their own: installation and updates work even where Internet is available only after a login.

Each PC then starts from its own disk, runs its applications locally and returns to a clean desktop at every boot.

Website ยท Documentation ยท Contributing ยท Sponsor ยท Releases

nixorium-v3-4-3-en.mp4

Managing a room of PCs by hand is slow

Machines drift apart over time, reinstalling them one by one takes days, and keeping thirty desktops identical becomes a job of its own. Configuration tools help, but they cannot guarantee that two PCs prepared a week apart end up the same.

NixOS solves this with declarative, reproducible systems, but its usual workflows assume that every machine can reach the Internet. In many schools, student PCs have no Internet at all, or only after a user signs in to the institutional network.

Nixorium bridges that gap with a local-first workflow:

  • One controller in the room builds the systems, keeps a signed package cache and starts the PCs from the network.
  • Student PCs are installed and updated entirely over the local network.
  • One private repository describes the whole lab: computers, accounts, software and the student desktop.
  • Everyday tasks run from a guided menu on the controller.

One configuration for the whole room

On the controller, sign in as admin and open Nixorium from the dock, or run nixorium in a terminal. The guided menu groups everyday tasks into Computers, Installation, Software and Maintenance.

Assistant is an optional paid add-on, offered in the administrator menu by default. It helps you prepare lab customizations in plain language and review them before saving. The Community Edition is free and open source.

Assistant grew out of the maintainer's own lab: for customizations the menu does not offer, asking an AI had become more common than editing the configuration by hand, so it became a bounded, reviewed part of the product. It is paid because every request runs on a commercial AI model; the subscription also supports Nixorium's development, and Nixorium stays complete and MIT-licensed without it.

  • One description, every PC. Add software or change the student desktop once, then update one PC, a group or the whole room. Every change is reviewed before it runs.
  • No Internet needed on the clients. Install PCs from the network, beside the school's existing DHCP server, or from a USB stick. Only the controller needs Internet: it serves systems and updates from a local, signed cache. A disk is erased only after an explicit confirmation.
  • Updates when you choose. Update Nixorium and the system separately, and go back to a previous system version if an update causes trouble.
  • Guided recovery. When something is interrupted, Nixorium lists it and says what to do next. A private Git backup with encrypted recovery keys lets a new controller take over without reinstalling the PCs.
  • Your lab stays yours. Software choices, desktop defaults and local policy live in your own private repository, separate from this framework.
  • Describe a customization. With the optional Assistant subscription, ask for a change in plain language, review its files and Nix evaluation, then save it locally. Applying the controller and updating clients each require a separate review. Assistant can also inspect bounded computer diagnostics and saved configuration history after renewed consent, without changing systems or Git.

Under the hood: NixOS builds every PC from the same description, Nixorium copies and activates it, Harmonia serves the cache and Disko lays out the disks.

Administrator guide ยท Menu tour

Every PC ready for the lesson

Sign in to the controller with your teacher account and open Classroom view from the dock to see the student computers together. Open Nixorium for the restricted classroom dashboard.

  • A clean desktop at every boot. Every student PC starts with the same GNOME desktop and applications. The last sessions (five unless you choose another number, up to 30) stay on that PC as snapshots. Computers โ†’ Recover student files copies a lost file or folder from one of them back to that student's desktop, and Snapshots in the Files sidebar shows them too.
  • Help students from your desk. See every student screen at once, open one in its own window, take control or save a screenshot of it, lock screens, show students a message, collect students' files from their desktops, share your own screen, and send a file or folder to the students' desktops. Students can tell when the classroom view is open: while it is, GNOME shows its screen-sharing indicator at the top of their screen. Live screens are shown, not recorded; a file is written only when you save a screenshot or collect files, into your own home folder on the controller. Nothing leaves the laboratory network.
  • Control the room. See which PCs are on, switch them on from the classroom view, pause or restore Internet on selected PCs, and shut them down or restart them. Teacher controls do not change the laboratory configuration.

Teacher overview ยท Classroom dashboard tour

Born in a school lab

Nixorium was born in 2024 in an Italian school lab and has been in daily use in school labs since. The original classroom account tells that story. It is open source under the MIT license and maintained by a teacher; support happens in GitHub Discussions.

Each release is validated on virtual machines; physical hardware differs, so start with one controller and one client of your own. Two 64-bit PCs with UEFI that you can erase (or two virtual machines), a USB stick with the official NixOS ISO (Minimal for a text console, or Graphical with GNOME), Internet on the controller, and a wired network where the two PCs reach each other: the laboratory network uses Ethernet cables, not Wi-Fi.

Installation erases the disk you confirm on each PC: back up anything you need first. Network installation also needs UEFI network boot on the clients and permission to run ProxyDHCP beside the existing DHCP server; USB over SSH works without it. The USB live system may reach the controller over Wi-Fi during the installation, but an installed computer uses its wired card: connect the cable before it restarts. The administrator guide lists the network, storage and console requirements in full.

nixorium-first-setup-en-small.mp4

Verify one client before preparing the rest of the room. For a disposable trial on virtual machines, follow the evaluation environment.

  • Install the controller. Boot the official NixOS ISO in UEFI mode, either Minimal (text console) or Graphical (GNOME), with Internet access and run:
curl -fsSL https://nixorium.org/install.sh | bash

The bootstrap script asks for the keyboard layout first, then the time zone, accounts, passwords, an initial software profile and the disk, which it erases only after you type ERASE. The keyboard is chosen from a short list and applied immediately, before the passwords, and the installed system uses the same layout on its text console and at the login screen. The Graphical ISO is useful when a web browser is needed to unlock a captive Internet portal: connect, unlock it in Firefox, then open Terminal and run the command above. Ignore the "Install NixOS" icon.

  • Configure the lab. Reboot, sign in as admin and open Nixorium from the dock (or run nixorium). In Installation, choose Network boot (PXE) or USB over SSH; the first time, the guided flow asks for the laboratory settings, creates the keys, activates the controller and prepares the clients. Teacher and student account names are reused from first setup; change them under Maintenance โ†’ Change settings โ†’ Accounts โ†’ Change account names, and change account passwords under Maintenance โ†’ Change settings โ†’ Accounts โ†’ Change account passwords. Optionally use Maintenance โ†’ Back up lab and choose an encrypted file (for example on a USB drive), or a private Git repository (GitHub, GitLab or another SSH Git service) that then stays up to date automatically. Keep the passphrase separately. Backup is recommended but never blocks installation or updates.
  • Install the first client. With network boot, start the client from the network; the installer opens on its screen, asks which configured computer it is and erases the disk after you type ERASE. With USB over SSH, boot the client from the official NixOS ISO (Minimal or Graphical; Minimal is better on a computer with 4 GB of RAM or less) and follow the controller, which checks the client's fingerprint before using any password. Both procedures are in the administrator guide: network boot and USB over SSH.
  • Check it, then expand. Start the client from its disk, try the student session, a reboot and an update from Computers โ†’ Update computers. Make another backup from Maintenance โ†’ Back up lab if desired. Then install the other PCs.

Privileged operations run through fixed system services, never as arbitrary commands from the interface. Clients accept SSH only from the controller's address on the lab network. Installation always needs an explicit confirmation; unattended installation is disabled. Private keys stay out of Git and the Nix store. See the management architecture and the security policy.

Run a lab

  • Administrator guide: setup, daily operation and customization, with separate guides for the classroom, installation, software and maintenance
  • Assistant: describe a lab customization and review the proposal before saving
  • Troubleshooting: failures, recovery and backups
  • Optional adoption statistics: preview, consent and privacy
  • Update guide: Nixorium, NixOS and package updates
  • Management interface and support reports
  • Template reset for an outdated deployment
  • Operational disclaimer

Customize and extend

  • System and extension reference: lib.mkLab, software profiles and the student workspace
  • Initial student files: deployment-owned files, configuration text and empty directories in the common boot seed
  • Desktop profile
  • Management architecture and decision records

Contribute

Nixorium ships instructions that help coding agents follow its configuration, validation and safety rules: nixorium-maintainer for a lab's private repository (it is also included in the deployment template) and nixorium-developer for this one. Discovery links are included for Codex, OpenCode, Claude Code and Pi; for example, ask: โ€œUse nixorium-maintainer to prepare a Firefox proposal for all computers without changing the deployment.โ€ The maintainer skill is proposal-only: supported software/workspace previews and bounded diagnostics; the operator performs saves and live operations through native reviews. It does not permit arbitrary Nix/module edits or autonomous administration. Skills are instructions, not a sandbox: do not rely on them to constrain an agent with root access or unrestricted execution permissions. Existing deployments need a separate reviewed refresh of their copied instructions.

Account password hashes are kept in an ignored lab-credentials.json, backed up with the private keys inside the passphrase-encrypted recovery file. Git stores configuration and a credentials version. Local preparation supplies the hashes to Nix; PXE and the installed systems keep their existing behavior. See credential storage for the boundary and recovery.

Work on the public framework here and keep site-specific changes in a private repository. Read CONTRIBUTING.md and AGENTS.md first.

Area Responsibility
flake.nix, lib/, modules/, pkgs/ Public lib.mkLab API, settings validation, generated hosts, NixOS modules and packaging
cmd/, internal/ Go CLI/TUI, workers, application workflows, domain rules and system adapters
install.sh, setup.sh, scripts/ Controller bootstrap, client installation and validation entry points
templates/site/ Template for a lab's private repository
docs/, tests/, .github/ References, tests, CI and release automation

Run the fast validation gate with ./scripts/validate.sh --quick, and add --eval for Nix API or host-composition changes. For repeated Go edits:

nix --extra-experimental-features 'nix-command flakes' \
develop --file tests/source-checks.nix go-shell
go test ./...

The validation guide says when VM tests or the full release gate are needed.

If Nixorium helps your school or organization, you can support it through GitHub Sponsors. Sponsorship covers infrastructure, test hardware, documentation and maintainer time; it does not change the license or grant privileged access to releases or decisions.

Released under the MIT License. The Nixorium name and logo are covered by the trademark policy.

Read on Hacker News ↗ ← Back to News

Comments

No comments yet. Start the discussion.