NixWRT: purely functional firmware images for IoT
summary
NixWRT builds immutable OpenWrt-style firmware images with Nix, producing a kernel uImage plus a squashfs rootfs and booting via u-boot/TFTP; the demo boots a Mediatek MIPS device and ships a 4.5 MB firmware for small flash targets. It relies on cross-compiling MIPS from x86, overlayed package overrides to strip SQLite/static libs, and a tiny module system where modules are functions that transform a Nix configuration; kernel/device tree merging is used (device-tree based kernel). Secrets, PPP and OTA upgrade flows remain work-in-progress.
AI-written summary · about
