Skip to main content
On this page

Settings to options

Every field on the settings panes writes one option in the box's Nix description (losos.*). Use this table when you want something the panes do not offer. Every option in it is on Settings → Advanced, which checks the value before Apply. From a terminal, the losos client changes the same options through the box, with the same checks:

losos options get cache.local.maxSize
losos options set cache.local.maxSize 16g
losos options unset cache.local.maxSize # back to the default

Nobody edits a Nix file for any of this. Administration documents the options in full.

On the panes​

PaneFieldOptionDefault
NetworkNamelosos.hostNamelosos
NetworkEncrypt the connectionlosos.tls.enableon
NetworkReachable from outsidelosos.proxy.enableoff
NetworkEdge addresslosos.proxy.registrarUrlthe LosOS edge
AppsLosOS Gitlosos.git.enableon
AppsLosOS Cloud, days in the trashlosos.cloud.trashDays30
AppsLosOS Git, settings for everyonelosos.git.site.*as LosOS Git ships
StorageUse the reservegrows the disk into the reserve, which is losos.storage.fillPercent90 %
MeshJoin the meshlosos.cluster.enableoff
MeshShare my spare timelosos.cluster.shareComputeoff
MeshHourslosos.cluster.computeWindow.{start,end}unset
MarketShare my disklosos.sharingMyStorageoff
HardwareGraphicslosos.gpu.enableoff
SecurityAppArmorlosos.hardening.apparmoroff
SecurityHardened memory allocatorlosos.hardening.mallocoff
SecurityNo SMTlosos.hardening.nosmtoff
SecurityUSBGuardlosos.hardening.usbguardoff

Not on the panes​

WhatOptionDefault
Where updates come fromlosos.configRepo.upstream.url, .branchhttps://github.com/dasmatus/losos.git, main
Whether the box updates at alllosos.configRepo.upstream.enableon
What the nightly rebuild buildslosos.upgradeFlakeUrigit+file:///etc/nixos#install, the box's own repository
The hardening baselinelosos.hardening.enableon
The disk unlock modelosos.tpm.enablewhat the installer found
UEFI or BIOSlosos.bioswhat the installer found
The diskslosos.targetDriveswhat the installer found
Certificate lifetimelosos.tls.validityDays730
Idle threshold for lending CPUlosos.cluster.idleLoadThreshold0.25 per core
The binary cachelosos.cache.substitutershttp://127.0.0.1:8787 (GHCR-backed on-demand proxy)
Size of the local copy of the cacheslosos.cache.local.maxSize8g
Who may read /setup/state.json from a web pagelosos.setup.finderOriginsthe LosOS edge's find page

The Advanced pane, where the options not on the other panes are edited, each checked before Apply.

Rules the panes enforce​

  • A name is letters, digits and hyphens, starting and ending with a letter or a digit, up to 63 characters.
  • A port is between 1024 and 65535.
  • The hours are two 24-hour times, HH:MM, in the box's own time zone. The window may cross midnight.