Files
JakeHillion d30019e4f1
commit-validation / validate-single-commit (pull_request) Successful in 8s
buildbot/nix-eval Build done. (468 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
nebula: replace custom.nebula with the ogygia-managed overlay
The Nebula overlay was driven by the bespoke custom.nebula module. The
ogygia jj/kynttxmxzotq branch provides a managed ogygia.nebula module
with declarative, content-addressed certificates; replace custom.nebula
with it while keeping certificates very similar to the current ones
(same CA, IPs, and groups).

Bump the ogygia input and remove custom.nebula: its module, fleet-wide
default, and fanboy's forcePort. The nebula-online@jakehillion consumers
and the router's neb.jh trusted interface now point at the ogygia mesh,
whose readiness unit (nebula-online@ogygia) is recreated here since
upstream ships none. Configure ogygia.nebula fleet-wide from the DNS map,
reuse the existing CA as nebula/ca.crt, and embed the public key and
groups grabbed from each host. Enabled by default; hosts whose keypair
isn't grabbed yet opt out with a temporary lib.mkForce false.

Reuse each host's existing keypair in place: point the ogygia network key
at the persisted /data/nebula/host.key and pin the nebula service user to
uid 205 (the old nebula-jakehillion allocation) so the key stays owned
correctly, with no chown or UID drift. Expose OGYGIA_NEBULA_CA_KEY on
devboxes for signing.

Test plan:
- CI (enabled hosts build once their certs are signed with
  `ogygia nebula rekey` and committed alongside)
- Verified the not-yet-keyed hosts still evaluate and build
2026-07-14 10:40:19 +01:00
..