Skip to main content
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:

KeptHolds
/home/notsharedLosOS Cloud's data: your files, photos, database
/home/sharedRoom lent to the mesh, encrypted separately and unreadable while sharing is off
/varLosOS Git's data, the box's state and secrets, the two clusters' state, logs
/nixThe system itself, every version kept for the boot menu
/etc/nixosThe box's own description: its disks, firmware mode, unlock mode, your settings
/etc/keysThe disk key's recovery copy
/etc/credstore.encryptedThe box's own secrets, each sealed to it (Credentials)
/etc/sshHost keys, which identify the box. There is no SSH server.
/etc/rancherThe mesh membership's node password
/etc/machine-idThe box's identity

The system disk lives in RAM and is rebuilt every boot; nine directories are bind-mounted back from the encrypted /persist volume, and everything else is gone at the 00:07 restart.

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.journalMaxUse on 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.