I put together a flake-based NixOS configuration for Raspberry Pi 4 that boots directly into WiFi with Tailscale pre-configured. The main use case: running a Pi headlessly when you don’t have access to ethernet or a router you control.
Includes workarounds for the Pi 4 WiFi driver quirks (brcmfmac) that can cause connection issues.
Repo: Hunor Gered / nixos-rpi-headless · GitLab
Feedback welcome, particularly if anyone tests on Pi 3B+, Pi 5, or Zero 2W.