Add Raspberry Pi 5 host: Docker host + nginx reverse proxy #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a Raspberry Pi 5 (
aarch64-linux) host to the flake to serve two roles:clients can drive it.
in Nix (
services.nginx.virtualHosts).Scope
This issue covers the framework: the host evaluates cleanly in CI and follows
the existing per-machine module pattern. The real
hardware-configuration.nixisgenerated on the device after first boot; a committed placeholder keeps eval/CI
green until then.
Design decisions
2375, no TLS, restricted to the trusted LANsubnet by an nftables firewall rule. Plain 2375 is root-equivalent; the
source-subnet restriction is the only thing protecting it. mTLS on 2376 is the
documented upgrade path.
enableACME/forceSSLare present but commented, to be enabled per-vhost oncea DNS name and certificate path exist.
Tasks
system/machine/RPi5/module set: hardware-config placeholder, Docker host,nginx reverse proxy, host configuration, install README.
features.swayDesktop.enableoption to a base module so aheadless host need not import
swaywm.nix.lyrathorpe-rpi5in the flake host table; update the README hosttable.
nix fmt,nix flake check.Out of scope
hardware-configuration.nix,nixos-rebuild switch).