nixorium

module
v0.0.0-...-186580b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT

README

Nixorium

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

https://github.com/user-attachments/assets/956a1608-c1f2-446b-867d-5e9605bc8900

Why this exists

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.

For administrators

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.

The Nixorium administrator menu, with Computers, Installation, Software, Maintenance and the optional Assistant area enabled

  • 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

For teachers

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.

Classroom view on the controller, showing a grid of twelve student computers with screen previews and classroom controls

  • A clean desktop at every boot. Every student PC starts with the same GNOME desktop and applications. The last five sessions stay on that PC as snapshots, so a lost file can be recovered from Snapshots in the Files sidebar.
  • 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.
  • 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

Project status

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.

What you need

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 network where the two PCs reach each other. 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; Wi-Fi may not support it, and USB over SSH works without it, including over Wi-Fi. An installed client uses a wired card unless its network interface name is set in the lab settings. The administrator guide lists the network, storage and console requirements in full.

Quick start

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

  1. 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.

  2. 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 GitHub/GitLab repository that then stays up to date automatically. Keep the passphrase separately. Backup is recommended but never blocks installation or updates.

  3. 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.

  4. 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.

Security

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.

Documentation

Run a lab

Customize and extend

Contribute

Agent skills

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.

Development

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.

Support the project

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.

License

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

Directories

Path Synopsis
cmd
nixorium command
nixorium-classroom-agent command
Command nixorium-classroom-agent is the classroom view agent of a client.
Command nixorium-classroom-agent is the classroom view agent of a client.
nixorium-demo command
Command nixorium-demo exports deterministic website demo frames from the real presentation package.
Command nixorium-demo exports deterministic website demo frames from the real presentation package.
nixorium-docs command
Command nixorium-docs updates deterministic documentation blocks from the real presentation fixtures.
Command nixorium-docs updates deterministic documentation blocks from the real presentation fixtures.
nixorium-home-reset command
nixorium-home-reset is a root-only systemd helper with no target arguments.
nixorium-home-reset is a root-only systemd helper with no target arguments.
nixorium-host-diagnostics command
nixorium-host-diagnostics is an internal, fixed read-only observation helper.
nixorium-host-diagnostics is an internal, fixed read-only observation helper.
internal
app
classroomview
Package classroomview holds the classroom view protocol spoken between the controller and the agent in each client's graphical session.
Package classroomview holds the classroom view protocol spoken between the controller and the agent in each client's graphical session.
deploymigrate
Package deploymigrate holds the changes a release makes to a deployment's own files (ADR 0034).
Package deploymigrate holds the changes a release makes to a deployment's own files (ADR 0034).
homereset
Package homereset contains an internal boot reset engine and confined filesystem primitives.
Package homereset contains an internal boot reset engine and confined filesystem primitives.
hostdiagnostics
Package hostdiagnostics collects a fixed, read-only system snapshot.
Package hostdiagnostics collects a fixed, read-only system snapshot.
npmartifact
Package npmartifact prepares public npm CLI packages without executing package code.
Package npmartifact prepares public npm CLI packages without executing package code.
systemfiles
Package systemfiles reads system configuration files of a laboratory computer for the Assistant.
Package systemfiles reads system configuration files of a laboratory computer for the Assistant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL