dotfiles/nixng/containers/matrix/synapse/common_config.nix

26 lines
542 B
Nix
Raw Normal View History

{ 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;
};
}