feat: oidc matrix

This commit is contained in:
s-prechtl 2026-03-24 21:54:20 +01:00
parent b9684e2362
commit 07f653908b

View file

@ -182,15 +182,16 @@ in {
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
settings.server_name = config.networking.domain; extras = [ "oidc" ];
# The public base URL value must match the `base_url` value set in `clientConfig` above. # The public base URL value must match the `base_url` value set in `clientConfig` above.
# The default value here is based on `server_name`, so if your `server_name` is different # The default value here is based on `server_name`, so if your `server_name` is different
# from the value of `fqdn` above, you will likely run into some mismatched domain names # from the value of `fqdn` above, you will likely run into some mismatched domain names
# in client applications. # in client applications.
settings.public_baseurl = baseUrl;
settings.enable_registration = false;
enableRegistrationScript = true;
settings = { settings = {
server_name = config.networking.domain;
public_baseurl = baseUrl;
enable_registration = false;
enableRegistrationScript = true;
listeners = [ listeners = [
{ {
port = 8008; port = 8008;
@ -206,6 +207,7 @@ in {
]; ];
} }
]; ];
log_level = "DEBUG";
}; };
settings.app_service_config_files = [ settings.app_service_config_files = [
"/var/lib/mautrix-signal/double-puppeting.yaml" "/var/lib/mautrix-signal/double-puppeting.yaml"