matrix, nextcloud: pin domain to staging
This commit is contained in:
parent
4447cf06c4
commit
b224f278c9
|
@ -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,21 +96,22 @@ 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:
|
''
|
||||||
- module: ldap_auth_provider.LdapAuthProviderModule
|
modules:
|
||||||
config:
|
- module: ldap_auth_provider.LdapAuthProviderModule
|
||||||
enabled: true
|
config:
|
||||||
uri: ldap://localhost
|
enabled: true
|
||||||
base: ou=users,${portunus.ldap.suffix}
|
uri: ldap://localhost
|
||||||
# taken from kaki config
|
base: ou=users,${portunus.ldap.suffix}
|
||||||
attributes:
|
# taken from kaki config
|
||||||
uid: uid
|
attributes:
|
||||||
mail: uid
|
uid: uid
|
||||||
name: cn
|
mail: uid
|
||||||
bind_dn: uid=search,ou=users,${portunus.ldap.suffix}
|
name: cn
|
||||||
bind_password_file: ${config.sops.secrets.matrix_ldap_search.path}
|
bind_dn: uid=search,ou=users,${portunus.ldap.suffix}
|
||||||
'';
|
bind_password_file: ${config.sops.secrets.matrix_ldap_search.path}
|
||||||
|
'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue