Files
nixos/modules/services/supos/oidc-client-secret.age
JakeHillion 970bd8cada
commit-validation / validate-single-commit (pull_request) Successful in 9s
buildbot/nix-eval Build done. (652 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
supos: add supervision scheduling service on iceman
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
2026-10-28 22:40:32 +00:00

317 B