Download the image builder
git clone email@example.com:Robertof/nixos-docker-sd-image-builder.git
Configure for Raspi4
/config/rpi4/default.nixto increase size of boot partition
- this step is optional but I ran out of space in /boot pretty quickly with the default setting since I'm still learning and rebuilding a lot. Let's leave some room for trial & error.
sdImage.firmwareSize = 1024;