drop the hive-side matrix code: sweep, hivectl matrix and the apiUrl option
This commit is contained in:
parent
a00bcb8c05
commit
6dbb18b6d4
1 changed files with 49 additions and 1007 deletions
|
|
@ -127,18 +127,6 @@ let
|
|||
&& lib.hasInfix "exit 1" u.script
|
||||
&& !(lib.hasInfix "bao login" u.script);
|
||||
}
|
||||
{
|
||||
# hive-c0re logs in with the hive's matrix token over this URL, and on a
|
||||
# host without the homeserver that login crosses the network, so the
|
||||
# default must be TLS all the way to the daemon's environment.
|
||||
name = "hive-c0re provisions matrix over https from a hive that does not run it";
|
||||
ok =
|
||||
!matrixElsewhere.services.hyperhive.deploy.matrix.enable
|
||||
&& matrixElsewhere.services.hyperhive.swarm.matrix.apiUrl == "https://chat.t.local"
|
||||
&&
|
||||
matrixElsewhere.systemd.services.hive-c0re.environment.HIVE_MATRIX_API_URL
|
||||
== "https://chat.t.local";
|
||||
}
|
||||
{
|
||||
# The legacy redirect reaches the hive domain's vhost from a glue
|
||||
# module, merged into the vhost hive-c0re declares, and only where the
|
||||
|
|
|
|||
Loading…
Reference in a new issue