The tunnel gateway machine as NixOS, self-updating (test copy)
README.md

gateway-nix #

NixOS configuration for the tunnel gateway: the machines that run tunnel-gateway-server, which routes public domains to servers without a public IP over a tailnet.

  • hosts/prod.nix: production, a DigitalOcean droplet (admin UI on the tailnet only)
  • hosts/testing.nix: a Hetzner test box (gtest.commoninternet.net)

Both update themselves nightly from this repo. How it all works, and how to deploy, test and recover: AGENTS.md.