snowflake/hosts/sakura/services/conduit.nix

25 lines
566 B
Nix
Raw Normal View History

2023-10-04 23:40:34 -04:00
_: {
2024-02-08 12:04:15 -05:00
networking.firewall.allowedTCPPorts = [
6167
8448
];
2023-09-23 20:53:45 -04:00
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-11-26 02:10:32 -05:00
allow_federation = true;
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;
2024-02-08 12:04:15 -05:00
trusted_servers = [ "matrix.org" ];
2023-09-23 20:53:45 -04:00
};
};
};
}