Add matrix homeserver (disabled).
This commit is contained in:
parent
f173b9d236
commit
3ed11cda2b
5 changed files with 146 additions and 2 deletions
|
|
@ -41,6 +41,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.continuwuity = {
|
||||
enable = false;
|
||||
domain = "matrix.foehammer.me";
|
||||
signups = false;
|
||||
allowEncryption = false;
|
||||
|
||||
ldap = {
|
||||
addr = "ldap://localhost:${toString config.foehammer.services.lldap.ldap_port}";
|
||||
baseDN = config.foehammer.services.lldap.base_dn;
|
||||
user = "UID=authelia,OU=people,${config.foehammer.services.lldap.base_dn}";
|
||||
passwordFile = config.sops.secrets.continuwuity-ldap-password.path;
|
||||
};
|
||||
};
|
||||
|
||||
services.lldap = {
|
||||
enable = true;
|
||||
url = "https://lldap.foehammer.me";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,12 @@
|
|||
reverse_proxy :${toString config.foehammer.services.forgejo.port}
|
||||
'';
|
||||
};
|
||||
"matrix.foehammer.me" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy :${toString config.foehammer.services.continuwuity.port}
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@
|
|||
authelia-session-secret = autheliaSecret;
|
||||
authelia-storage-encryption = autheliaSecret;
|
||||
authelia-lldap-password = autheliaSecret;
|
||||
|
||||
# continuwuity-ldap-password = {
|
||||
# owner = "continuwuity";
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue