Risks and Technical Debts
Technical Debts
| Debt |
Context |
Consequence |
| Dead files from the pre-v0.1.0 PoC remain in the repository |
The PoC implemented the basic idea quickly with minimal effort and built the stick with diskoImage instead of today's mkLibreToyImage. |
They must be deleted; before that, the relevant content moves to the new implementation. disko.nix is deprecated and stays only as a reference until the JSON layer and the modules are settled and disko compatibility has been tested. |
libretoy-dd, libretoy-resize and related tools were not adapted to mkLibreToyImage |
Deliberate: the PoC had already validated the concepts behind image-full. v0.1.0 to v0.2.0 went into a cleaner mkLibreToyImage, the Nix port of grub-iso-multiboot and systemd-boot via syslinux; maintaining the PoC tools was out of scope. |
A regression: only image-minimal exists, image-full does not. The next step is the clean design of libretoy-live, libretoy-config, libretoy-apply, libretoy-repartition, libretoy-catalog-install and libretoy-rebuild. |
| Partitioning has no settled design |
The PoC used disko; v0.1.0 used a first pragmatic NixOS module of its own. |
A cleanly designed partitioning module is planned and may differ from both. Its goals: a simple high-level JSON configuration, every feature of image-minimal, and — subordinate, but worth having — the best possible disko compatibility in both directions. |
Current State
This is how things stand today. It is expected to change; once it has, the
entries leave this chapter.
| Item |
Today |
| Initrd service |
A half-finished Bash proof of concept. |
| Building the images |
Requires an installed NixOS system. |
| ZFS pool in the image |
An experiment; it belongs to yoloOS and nixos-genode-hybrid. |