dotfiles/nixng/containers/matrix/synapse/common_config.nix
2023-10-07 17:34:09 +02:00

25 lines
542 B
Nix

{ logConfig }:
{
server_name = "matrix.redalder.org";
report_stats = "yes";
pid_file = "/homeserver.pid";
log_config = logConfig;
trusted_key_servers = [ {
server_name = "matrix.org";
} ];
media_store_path = "/var/lib/synapse/media_store";
signing_key_path = "/var/lib/synapse/signing.key";
enable_registration = false;
enable_registration_without_verification = false;
federation_sender_instances = [
"worker-federation-sender-0"
];
instance_map.main = {
host = "localhost";
port = 9093;
};
}