matrix, nextcloud: pin domain to staging

This commit is contained in:
Rouven Seifert 2023-09-15 13:04:24 +02:00
parent 4447cf06c4
commit b224f278c9
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 19 additions and 18 deletions

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
domainServer = "matrix.${config.fsr.domain}"; domainServer = "matrix.staging.ifsr.de";
domainClient = "chat.${config.fsr.domain}"; domainClient = "chat.staging.ifsr.de";
clientConfig = { clientConfig = {
"m.homeserver" = { "m.homeserver" = {
@ -96,7 +96,8 @@ in
extraConfigFiles = [ extraConfigFiles = [
(pkgs.writeTextFile { (pkgs.writeTextFile {
name = "matrix-synapse-extra-config.yml"; name = "matrix-synapse-extra-config.yml";
text = let portunus = config.services.portunus; in '' text = let portunus = config.services.portunus; in
''
modules: modules:
- module: ldap_auth_provider.LdapAuthProviderModule - module: ldap_auth_provider.LdapAuthProviderModule
config: config:

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
domain = "nc.${config.fsr.domain}"; domain = "nc.staging.ifsr.de";
legacy_domain = "oc.ifsr.de"; legacy_domain = "oc.ifsr.de";
in in
{ {