hyperhive/nix/modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 147fb46cdc nix(forge): derive ROOT_URL scheme from gateway TLS, not always http
Fixes #1724. The forgejo ROOT_URL was hardcoded `http://` even when the
gateway terminates TLS, producing broken clone links and mixed-content
redirects for a TLS deployment.

Derive the scheme + port from gateway state: `https` (on httpsPort) when
the gateway terminates TLS (`gateway.selfSignedTls` or `gateway.tls.certDir`
set), `http` (on gateway.port) otherwise — dropping the port suffix on the
canonical port for the scheme (80 / 443). The per-agent in-cluster
HIVE_FORGE_URL is unaffected (it stays http on the gateway's :80 path);
this only changes the public ROOT_URL forgejo advertises.

Refreshes the `rootUrl` option description (the TLS scheme is auto-derived
now, so the manual-override-for-TLS note is gone).

Eval-proven: gateway.selfSignedTls = true → ROOT_URL =
https://forge.<domain>/; false → http://forge.<domain>/.
2026-06-17 18:32:21 +02:00
..
hive-c0re.nix nix(c0re): trim the network-isolation narrative from the forge/matrix URL comments 2026-06-17 16:58:20 +02:00
hive-ci.nix fix(ci): resolve the forge domain to loopback in the hive-ci runner 2026-06-15 13:32:01 +02:00
hive-forge.nix nix(forge): derive ROOT_URL scheme from gateway TLS, not always http 2026-06-17 18:32:21 +02:00
hive-gateway.nix chore(nix): replace tracker tags with prose in nix comments 2026-06-09 11:25:56 +02:00
hive-matrix.nix nix: remove the non-isolated (shared-netns) mode 2026-06-17 15:29:52 +02:00
hive-network.nix nix: remove the non-isolated (shared-netns) mode 2026-06-17 15:29:52 +02:00