The idea to create an image burnable on a SD card that is already
configured is a nice one, however I encountered many issues:
- Used something that was designed to be an installer:
- Cannot change from unencrypted ext4 partition (AFAICS)
- Comes with installer tools (i.e. tools for various filesystems),
which creates conflicts
- Takes a lot of space and time to build, had to put /tmp on a non-tmpfs
- Has to extend the filesystem manually afterwards
- I think it rebuilt the full system on nixos-rebuilt anyways. Maybe
because I used binfmt compilation? Could also be because installer has
some overlays.
Since I had nix on Manjaro already, I surely could have built the
system directly on the SD card from there. Maybe that's what I will do
to test the partitionning/boot scheme setup actually.