Watch
0
0
Fork
You've already forked hyperhive
0

docs: point matrix GUI comments at the swarm UI, drop the M4TR1X tab

The previous commit removed dashboard.md's M4TR1X section. These
comments and the `deploy.matrix.gui.enable` option description still
described a hive-dashboard M4TR1X tab or cited that section. They now
state what the option does: it serves the client on the gateway vhost
and adds the swarm UI's Matrix quick link (docs/swarm/ui.md::Quick links).

Refs #3902
This commit is contained in:
atlas 2026-10-02 13:19:35 +02:00 • committed by mara
commit 46f1f3cbdb
4 changed files with 19 additions and 23 deletions

View file

@ -543,8 +543,9 @@ in
defaultText = lib.literalExpression "config.services.hyperhive.deploy.matrix.enable";
description = ''
Serve a matrix web client at `gatewayHost`'s vhost (`chat.<swarm-domain>`
by default). Requires `gatewayHost != null`; the gateway itself always runs. When
off, the dashboard's `M4TR1X →` tab is hidden. See
by default) and add the swarm UI's **Matrix** quick link to it
(`services.hyperhive.swarm.controller.links`). Requires
`gatewayHost != null`; the gateway itself always runs. See
`docs/networking/gateway.md` for the discovery flow that lets clients
auto-find the sub-domain. The client build itself is
`deploy.matrix.gui.package` — which client, as opposed to whether
@ -668,12 +669,9 @@ in
# This swarm-ui quick-links entry. Gated on `gui.enable` too, not just
# `gatewayHost != null`: `/` on that vhost only serves fluffychat
# (below) when the GUI is on — otherwise the link would 404. Same
# `gatewayHost && gui.enable` condition the removed hive-dashboard
# H0M3 tile used to check via `state.matrix_gui_enabled` before this
# link became the only way in (docs/web-ui/dashboard.md::M4TR1X
# page). See `services.hyperhive.swarm.controller.links`'s
# description.
# (below) when the GUI is on — otherwise the link would 404. See
# docs/swarm/ui.md::Quick links and
# `services.hyperhive.swarm.controller.links`'s description.
services.hyperhive.swarm.controller.links =
lib.optional (cfg.gatewayHost != null && deployCfg.matrix.gui.enable)
{