Cross-cutting Concepts¶
Configuration format¶
The configuration has several parts, each implemented by its own NixOS module. The two most important are partitioning and images. It carries a version field bound to the LibreToy version — major and minor of semantic versioning — so the format can evolve without making existing sticks unusable.
Reproducibility and trust¶
Flake inputs are pinned. The images in the catalog are pinned as well, by hash, but not necessarily as flake inputs. Published hashes and signatures decouple the trust from the CI system and from where the images are hosted. A downloaded image whose hash does not match aborts.
Destructive operations¶
Writing and repartitioning destroy data. Both
- warn and ask for confirmation, unless
--forceis given, - check that the target is a USB stick, unless
--forceis given.