On this page
In depth

The rest of this handbook is for the owner of a box. This chapter is for the people who build LosOS, run an edge or cut a release: how the pieces fit together, why each one sits where it does, and how to change them.
LosOS is a NixOS appliance for a mini-PC. It runs LosOS Cloud for your own files and can lend spare disk and CPU to a mesh of other LosOS boxes. There is no SSH and no login shell. You administer it from a web page, and it upgrades itself.
The root filesystem is a tmpfs that is rebuilt on every boot. Only the
directories listed in modules/impermanence.nix survive, on an encrypted
/persist partition.
Pages
- Install in depth. The installer ISO, Secure Boot, TPM, the demo image, growing the disk.
- Administration. The admin UI, settings, upgrades and the nightly reboot.
- Mesh. Contributing storage and compute to other boxes.
- Market. Selling the disk and CPU a box already shares.
- Virtual machines. Renting machines on the mesh and hosting other boxes' machines.
- AI models. Lending memory to models split across boxes, and paying for their answers by the token.
- App format. One Compose file per app, run as notshared on rootless Podman: what the box does to it and how to install one.
- Build with AI. A language model on the box writes a widget or an app from a description, and the box checks and tries it.
- Master proxy. Reaching the box from the internet without opening a port.
- Edge federation. Your own edge on the LAN, relayed through the official ones.
- Edge web page. The page a company edge manages its boxes from, at
/manage/. - Diagrams. The diagram editor at
/diagrams/: JSON Canvas files, LosOS Cloud, machine cards, and the network simulator with its simulated and real guests. - Hardening. The default hardening baseline and the opt-in flags.
- TPM and the disk key. What the chip does, and what a box without one gives up.
- Security model. What is and is not defended.
- Architecture. How the pieces fit together.
Compared with alternatives
LosOS is a NixOS appliance for a mini-PC, not a general-purpose server. The
table sets it beside the systems a school project would most naturally pick.
The LosOS column comes from this repository only: the root README.md,
What LosOS is, the
security model and modules/cluster.nix.
The other columns describe each product's general design, not a particular
release. This is a qualitative design comparison for a school project, not a
benchmark: nothing was measured, and no version-specific features or figures
are claimed for the alternatives.
| Dimension | LosOS | Vanilla NixOS | TrueNAS SCALE | Proxmox VE | OpenMediaVault | Synology / QNAP | Ubuntu Server |
|---|---|---|---|---|---|---|---|
| Base and update model | NixOS appliance built from a flake; it upgrades itself, rebooting nightly at 00:07 and updating at 03:00. The nightly reboot is its self-repair path. | NixOS declarative system; you assemble the appliance yourself and run nixos-rebuild. | Debian-based NAS distribution with its own release and update mechanism. | Debian-based virtualisation platform with its own release and update mechanism. | Debian-based NAS distribution with its own update mechanism. | Vendor-maintained appliance OS, updated through the vendor's UI. | General-purpose Ubuntu release, updated with the usual package tooling. |
| Root filesystem | tmpfs, rebuilt from scratch on every boot; only the listed directories survive, on encrypted /persist. | Persistent root by default; statelessness is something you would have to build. | Persistent install on disk. | Persistent install on disk. | Persistent install on disk. | Persistent install on internal storage. | Persistent install on disk. |
| Administration surface | Web admin UI at <host>.local, reachable only from the LAN. | No UI by default; configured from the shell. | Web UI. | Web UI. | Web UI. | Vendor web UI. | Command line; no web admin UI by default. |
| SSH / login shell | None, by design: nothing on the box needs one. | Available; enable as needed. | Available (SSH is an optional service). | Shell and SSH on the host. | Available (SSH is an optional service). | Optional SSH; the vendor UI is the normal surface. | Shell is the primary interface; SSH is normally enabled. |
| Shared or replicated storage | LosOS Cloud (the Nextcloud apps sync with it) and LosOS Git on the host; optional mesh disk from the shared user, replicated by Longhorn on rke2. | Whatever you install; nothing included by default. | ZFS-based NAS storage. | Storage for VM images; sharing is optional. | NAS file shares. | NAS file shares. | No storage service by default; add your own. |
| Spare capacity to a mesh | Yes, optional and gated: spare disk and CPU are lent only inside an owner-set time window and only while the box is idle; an rke2 agent joins the edge for Longhorn and compute. | Not built in; you could write it yourself. | No. | No. | No. | No. | No. |
| Target hardware | Small or repurposed mini-PC; UEFI; TPM 2.0 preferred, but it works without one at the cost of weaker key protection. | Any machine NixOS supports. | Server/NAS-class x86 hardware. | Server-class x86 hardware with virtualisation support. | Small x86 or ARM hardware. | Vendor appliances. | General-purpose servers and cloud instances. |
| Licence / cost | AGPL-3.0-or-later; libre software, you supply the hardware. | Open source; no licence fee. | Open source; no licence fee. | Open-source core; optional paid support. | Open source; no licence fee. | Commercial appliance; the OS comes with the hardware. | Open source and free; optional paid support. |
What it is not
- Not a general-purpose server. There is no shell by design.
- Not a backup. Keep copies of
/persistsomewhere else. - Not finished.