2023-10-04 23:40:34 -04:00
|
|
|
_: {
|
2023-09-23 20:53:45 -04:00
|
|
|
networking.firewall.allowedTCPPorts = [6167 8448];
|
|
|
|
services.matrix-conduit = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
global = {
|
|
|
|
address = "0.0.0.0";
|
2023-10-03 14:24:26 -04:00
|
|
|
server_name = "matrix.flake.sh";
|
2023-09-23 20:53:45 -04:00
|
|
|
allow_registration = true;
|
2023-09-28 17:06:40 -04:00
|
|
|
allow_federation = false;
|
2023-09-23 20:53:45 -04:00
|
|
|
allow_encryption = true;
|
2023-09-28 17:06:40 -04:00
|
|
|
log = "warn";
|
|
|
|
max_concurrent_requests = 100;
|
|
|
|
max_request_size = 20000000;
|
|
|
|
database_backend = "rocksdb";
|
|
|
|
enable_lightning_bolt = false;
|
2023-09-23 20:53:45 -04:00
|
|
|
trusted_servers = ["matrix.org"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|