Adds a supos service module, registers it on iceman in locations, and opens HTTP/HTTPS on iceman's eth0 for it to be served publicly from supos.jakehillion.me via Caddy. supos is built on the host into a Nix profile from the supobot flake by an hourly supos-update timer, which restarts the service when the profile changes. The deploy key it fetches with is an ed25519 key generated on first run in a persisted state directory, and its public key is printed before each build. The server runs as a DynamicUser against a local Postgres database, signs in through the University's Entra ID tenant with the UIS Toolkit application registration's client ID and an agenix-rekey client secret, and has jsh77 as its supervisor. The database is dumped and backed up to the mig29 restic repository. Test plan: - Built iceman with `nix build '.#nixosConfigurations."iceman.cx.neb.jakehillion.me".config.system.build.toplevel'` - CI
317 B
317 B