RepositoryGoITItaly
giovantenne

giovantenne/nixorium

Manages a multi-PC NixOS lab, optimized for network installation (Netboot) with no internet access and a master PC acting as the local controller.

67stars
1forks
0issues
0views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: classroom-management

#1 Repository of the week

1
TINIX TRENDING·Topic: nixos-configuration

#1 Repository of the week

1
TINIX TRENDING·Topic: disko

#1 Repository of the week

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, without direct Internet access on the students' side. 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/3dfc054b-4f10-40a4-b26a-1c317d0d7fcf

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.

The Nixorium administrator menu, with the Computers, Installation, Software and Maintenance areas

  • 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. An encrypted controller backup 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.

Under the hood: NixOS builds every PC from the same description, Colmena deploys 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 and take control, lock screens, share your own screen, and send a file or folder to the students' desktops.
  • Control the room. See which PCs are on, 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 has run the Italian school lab where it began, 30 student PCs and a controller, for two years, and other labs use it too. 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 Minimal ISO, 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. 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 NixOS Minimal ISO in UEFI mode with Internet access and run, in its text console:

    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. Use the Minimal ISO console, not a terminal inside a graphical ISO.

  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.

  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 Minimal ISO 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 the first backup from Maintenance → Back up the controller and keep it away from the controller. 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.

Development

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

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

Similar Projects

Discover other similar projects and AI models.

RepositoryNix
dustinlyons/nixos-config

General purpose Nix starter template for macOS or NixOS w/ step-by-step instructions

3.7k
Nov 25, 2026
RepositoryNix
ryan4yin/nix-config

❄️ My nix config for both desktops(NixOS+macOS) and homelab servers(NixOS).

2.1k
Nov 27, 2026
RepositoryGo
ns1/waitron

Server installations made easy

123
Aug 4, 2021
RepositoryJinja
netbootxyz/netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.

12.8k
Nov 28, 2026
RepositoryRust
nix-community/nh

Yet another Nix CLI helper. [Maintainers=@NotAShelf, @faukah]

3.4k
Nov 28, 2026
RepositoryTypeScript
ryan4yin/nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

3.3k
Nov 1, 2026
RepositoryNix
microvm-nix/microvm.nix

NixOS MicroVMs

3.1k
Nov 23, 2026
RepositoryRust
serokell/deploy-rs

A simple multi-profile Nix-flake deploy tool.

2.5k
Nov 30, 2026
RepositoryJanet
hlissner/dotfiles

And I say hey, what's going on?

2.0k
Nov 15, 2026