docs: name the matrix host options by their new path
Every prose and error-message reference to the moved options, including two in hive-c0re/src/matrix.rs that omitted the services. prefix and so read as the per-agent option. An error that names an option the operator cannot find is worse than no hint.
This commit is contained in:
parent
fcdff04b23
commit
5235166bb3
7 changed files with 17 additions and 15 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Private Matrix homeserver (matrix-tuwunel — the conduwuit
|
||||
successor) wrapped in a nixos-container, plus optional fluffychat-web
|
||||
client at `matrix.<hive>/`. Configured via
|
||||
`services.hyperhive.matrix.*`; vhost routing lives in
|
||||
`services.hyperhive.swarm.matrix.*`; vhost routing lives in
|
||||
[`gateway.md`](gateway.md).
|
||||
|
||||
## Container shape
|
||||
|
|
@ -60,7 +60,7 @@ client needs to reach the client-server API directly.
|
|||
|
||||
**Breaking change**: used to default to `true`. Operators relying on
|
||||
external reach must add
|
||||
`services.hyperhive.matrix.openFirewall = true;` before rebuilding.
|
||||
`services.hyperhive.swarm.matrix.openFirewall = true;` before rebuilding.
|
||||
|
||||
Federation port 8448 is intentionally not opened here — tuwunel
|
||||
serves the federation API on the same `httpPort` as client-server
|
||||
|
|
@ -119,7 +119,7 @@ Initial rollout settings:
|
|||
`yes_i_am_very_very_sure_…_open_registration_…` flag keeps the
|
||||
server closed to anyone without the token.
|
||||
- `allow_encryption` — server-side E2EE switch, sourced from
|
||||
`services.hyperhive.matrix.allowEncryption` (**default `false`**, opt-in).
|
||||
`services.hyperhive.swarm.matrix.allowEncryption` (**default `false`**, opt-in).
|
||||
Off by default because on the hive-internal homeserver the operator
|
||||
already controls the transport; turn it on for encrypted rooms on
|
||||
external / federated homeservers or to keep contents opaque to the
|
||||
|
|
@ -168,7 +168,7 @@ re-creation (e.g. after a homeserver wipe).
|
|||
## Configuration tuning
|
||||
|
||||
```nix
|
||||
services.hyperhive.matrix = {
|
||||
services.hyperhive.swarm.matrix = {
|
||||
trustedServers = [ "matrix.org" "example.com" ]; # default: []
|
||||
maxRequestSize = 20000000; # default: 20 MB
|
||||
};
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ hivectl forge reconcile-config iris --verbose # include the full diff, not
|
|||
|
||||
Manual entry to the same idempotent matrix provisioning flow
|
||||
`hive-c0re` runs at boot. Requires the `hive-matrix` container to be
|
||||
running (`services.hyperhive.matrix.enable = true`).
|
||||
running (`services.hyperhive.swarm.matrix.enable = true`).
|
||||
|
||||
```bash
|
||||
hivectl matrix create-user iris # provision (or re-provision) matrix account for agent `iris`
|
||||
|
|
@ -315,5 +315,5 @@ an error.
|
|||
A surface has no URL when it isn't browser-reachable: `home` needs
|
||||
`services.hyperhive.domain`; `forge` needs
|
||||
`services.hyperhive.forge.behindGateway = true`; `matrix` needs
|
||||
`services.hyperhive.matrix.gui.enable = true`. In those cases the command
|
||||
`services.hyperhive.swarm.matrix.gui.enable = true`. In those cases the command
|
||||
exits with a hint naming the option to set.
|
||||
|
|
|
|||
|
|
@ -679,9 +679,9 @@ existing in the page DOM.
|
|||
|
||||
A static matrix web client (default `pkgs.fluffychat-web` rebuilt
|
||||
with `--base-href /matrix/`, swappable via
|
||||
`services.hyperhive.matrix.gui.package`) served by the hive-gateway
|
||||
`services.hyperhive.swarm.matrix.gui.package`) served by the hive-gateway
|
||||
nginx container at `/matrix/` when
|
||||
`services.hyperhive.matrix.gui.enable` is on (defaults to
|
||||
`services.hyperhive.swarm.matrix.gui.enable` is on (defaults to
|
||||
`matrix.enable`). c0re signals availability via the
|
||||
`HIVE_MATRIX_GUI_ENABLED` env var → `state.matrix_gui_enabled` in
|
||||
`/api/state`; the gateway does the actual static serving.
|
||||
|
|
|
|||
Loading…
Reference in a new issue