Compare commits

..

2 commits

Author SHA1 Message Date
teutat3s a59e57c532
style: format using nixfmt-rfc-style
All checks were successful
Flake checks / Check (pull_request) Successful in 25m28s
2024-11-20 15:49:31 +01:00
Akshay Mankar 56f987e424
matrix: Enable rendezvous server
Some checks failed
Flake checks / Check (pull_request) Failing after 32s
This will allow sign-in and device verification using QR codes
2024-11-20 17:15:41 +05:30
4 changed files with 27 additions and 12 deletions

View file

@ -124,17 +124,6 @@ in
enable_room_list_search = true;
encryption_enabled_by_default_for_room_type = "off";
event_cache_size = "100K";
# https://github.com/element-hq/synapse/issues/11203
# No YAML deep-merge, so this needs to be in secret extraConfigFiles
# together with msc3861
#experimental_features = {
# # Room summary API
# msc3266_enabled = true;
# # Rendezvous server for QR Code generation
# msc4108_enabled = true;
#};
federation_rr_transactions_per_room_per_second = 50;
federation_client_minimum_tls_version = "1.2";
forget_rooms_on_leave = true;
@ -275,6 +264,19 @@ in
user_ips_max_age = "28d";
app_service_config_files = config.pub-solar-os.matrix.synapse.app-service-config-files;
modules = [
{
module = "matrix_http_rendezvous_synapse.SynapseRendezvousModule";
config = {
prefix = "/_synapse/client/org.matrix.msc3886/rendezvous";
};
}
];
experimental_features = {
msc3886_endpoint = "/_synapse/client/org.matrix.msc3886/rendezvous";
};
};
withJemalloc = true;
@ -286,9 +288,14 @@ in
"redis"
];
plugins = [ config.services.matrix-synapse.package.plugins.matrix-synapse-shared-secret-auth ];
plugins = with config.services.matrix-synapse.package.plugins; [
matrix-synapse-shared-secret-auth
matrix-http-rendezvous-synapse
];
};
systemd.services.matrix-synapse.environment.SYNAPSE_ASYNC_IO_REACTOR = "1";
services.matrix-authentication-service = {
enable = true;
createDatabase = true;

View file

@ -24,6 +24,14 @@ let
secure_backup_required = false;
secure_backup_setup_methods = [ ];
};
"m.integrations" = {
managers = [
{
api_url = "https://dimension.${domain}/api/v1/scalar";
ui_url = "https://dimension.${domain}/element";
}
];
};
};
wellKnownServer = domain: { "m.server" = "matrix.${domain}:8448"; };
wellKnownSupport = {