refactor(reverse-proxy): use route registry #61

Merged
alexion merged 1 commits from impl/route-registry-migration into main 2026-08-24 22:33:29 -04:00
Owner

Summary

  • add registry/route.nix and publish guest reverse-proxy declarations into registry.route.<host>.<guest>
  • update the reverse-proxy guest and realizer to consume nested registry.route directly
  • add registry.lookup for permissive cross-registry lookup and derive route backends from matching registry.address entries

Verification

  • nix build .#checks.x86_64-linux.reverse-proxy-fleet-routes --no-link
  • nix build .#checks.x86_64-linux.reverse-proxy-address-backends --no-link
  • nix build .#checks.x86_64-linux.reverse-proxy-basic-route --no-link
  • nix build .#checks.x86_64-linux.reverse-proxy-actualbudget-guest-route --no-link
  • nix build .#checks.x86_64-linux.reverse-proxy-secondary-path-requires-root --no-link
  • nix eval --json .#nixosConfigurations.pikachu.config.registry.route.pikachu
  • nix eval --raw .#nixosConfigurations.pikachu.config.containers.reverse-proxy.config.services.nginx.virtualHosts."files.alexion.dev".locations."/".proxyPass
  • nix flake check
## Summary - add `registry/route.nix` and publish guest reverse-proxy declarations into `registry.route.<host>.<guest>` - update the reverse-proxy guest and realizer to consume nested `registry.route` directly - add `registry.lookup` for permissive cross-registry lookup and derive route backends from matching `registry.address` entries ## Verification - `nix build .#checks.x86_64-linux.reverse-proxy-fleet-routes --no-link` - `nix build .#checks.x86_64-linux.reverse-proxy-address-backends --no-link` - `nix build .#checks.x86_64-linux.reverse-proxy-basic-route --no-link` - `nix build .#checks.x86_64-linux.reverse-proxy-actualbudget-guest-route --no-link` - `nix build .#checks.x86_64-linux.reverse-proxy-secondary-path-requires-root --no-link` - `nix eval --json .#nixosConfigurations.pikachu.config.registry.route.pikachu` - `nix eval --raw .#nixosConfigurations.pikachu.config.containers.reverse-proxy.config.services.nginx.virtualHosts."files.alexion.dev".locations."/".proxyPass` - `nix flake check`
alexion added 1 commit 2026-08-24 21:58:57 -04:00
alexion force-pushed impl/route-registry-migration from 8556b18828 to 45c6d01b1f 2026-08-24 21:58:57 -04:00 Compare
alexion merged commit 45c6d01b1f into main 2026-08-24 22:33:29 -04:00
alexion deleted branch impl/route-registry-migration 2026-08-24 22:33:29 -04:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dotfiles#61