Add matrix homeserver (disabled).

This commit is contained in:
Lorenzo Good 2026-02-24 14:16:03 -08:00
parent f173b9d236
commit 3ed11cda2b
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
5 changed files with 146 additions and 2 deletions

View file

@ -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";

View file

@ -24,6 +24,12 @@
reverse_proxy :${toString config.foehammer.services.forgejo.port}
'';
};
"matrix.foehammer.me" = {
extraConfig = ''
reverse_proxy :${toString config.foehammer.services.continuwuity.port}
'';
};
};
};
}

View file

@ -35,6 +35,10 @@
authelia-session-secret = autheliaSecret;
authelia-storage-encryption = autheliaSecret;
authelia-lldap-password = autheliaSecret;
# continuwuity-ldap-password = {
# owner = "continuwuity";
# };
};
};
}