On this page
What survives a reboot
The box rebuilds its system disk from nothing at every boot. It keeps only these directories, on the encrypted volume, and bind-mounts them back into place:
| Kept | Holds |
|---|---|
/home/notshared | LosOS Cloud's data: your files, photos, database |
/home/shared | Room lent to the mesh, encrypted separately and unreadable while sharing is off |
/var | LosOS Git's data, the box's state and secrets, the two clusters' state, logs |
/nix | The system itself, every version kept for the boot menu |
/etc/nixos | The box's own description: its disks, firmware mode, unlock mode, your settings |
/etc/keys | The disk key's recovery copy |
/etc/credstore.encrypted | The box's own secrets, each sealed to it (Credentials) |
/etc/ssh | Host keys, which identify the box. There is no SSH server. |
/etc/rancher | The mesh membership's node password |
/etc/machine-id | The box's identity |
Everything else is gone at 00:07
Everything else, including anything an attacker or a bug wrote anywhere else, is gone at 00:07.
Two things that are documents, not settings
The box keeps the Look, meaning the background, the veil and the
hand-written widgets, under /var. Your browser keeps the board layout. Both survive a
reboot, but neither is part of the box's description, and you can change
either without a rebuild.
How much room the logs take
Every log under /var has a cap, so logs cannot fill the disk:
- The system journal keeps at most 512 MB and nothing older than a month.
losos.logs.journalMaxUseon the Advanced pane sets the size. - LosOS Cloud, LosOS Git and each app keep at most three log files of 10 MB per container.
- The web server's access log starts a new file every week, or sooner at 20 MB, and keeps eight old ones.
- The admin pages' audit log and their log of rebuilds each start a new file at 10 MB and keep three old ones.
- The box deletes build logs from updates after 30 days.
What a reinstall does
Wipes all of it. See Reset and reinstall.