matrix: drop c0re /matrix mount, use targetFlags --base-href, surface availability via env (mara on #634)
This commit is contained in:
parent
433c972db1
commit
effe00889f
3 changed files with 44 additions and 51 deletions
|
|
@ -241,6 +241,15 @@ in
|
|||
# Agents poll this URL for Forgejo notifications. Derived from
|
||||
# services.hyperhive.forge.{domain,httpPort} so it tracks forge config changes.
|
||||
HIVE_FORGE_URL = "http://${config.services.hyperhive.forge.domain}:${toString config.services.hyperhive.forge.httpPort}";
|
||||
}
|
||||
// lib.optionalAttrs config.services.hyperhive.matrix.gui.enable {
|
||||
# Availability flag for `/api/state.matrix_gui_enabled`. The
|
||||
# gateway (hive-gateway.nix) does the actual static serving of
|
||||
# fluffychat-web at `/matrix/`; c0re doesn't host the dist
|
||||
# itself (#634, mara on PR #620). This env var just tells the
|
||||
# dashboard chrome whether the GUI is reachable so iris's
|
||||
# `M4TR1X →` tab doesn't show when the GUI is off.
|
||||
HIVE_MATRIX_GUI_ENABLED = "1";
|
||||
};
|
||||
# Matrix GUI static serving lives entirely on the hive-gateway
|
||||
# nginx since #609 — when gateway is off the operator opts out
|
||||
|
|
|
|||
Loading…
Reference in a new issue