🔧 update matrix config

This commit is contained in:
James Walker 2022-03-24 15:43:48 -04:00
parent 5366bf95eb
commit d24585dab1
Signed by: walkah
GPG Key ID: 3C127179D6086E93

View File

@ -16,30 +16,36 @@
matrix-synapse = { matrix-synapse = {
enable = true; enable = true;
server_name = "walkah.chat"; settings = {
public_baseurl = "https://matrix.walkah.chat"; server_name = "walkah.chat";
enable_metrics = true; public_baseurl = "https://matrix.walkah.chat";
enable_registration = false; enable_metrics = true;
database_type = "psycopg2"; enable_registration = false;
database_args = { database = "matrix"; }; database = {
listeners = [{ name = "psycopg2";
port = 8008; args = { database = "matrix"; };
type = "http"; };
tls = false; account_threepid_delegates = {
x_forwarded = true; email = "https://vector.im";
resources = [{ msisdn = "https://vector.im";
compress = false; };
names = [ "client" "federation" ]; listeners = [{
bind_addresses = [
"0.0.0.0"
];
port = 8008;
type = "http";
tls = false;
x_forwarded = true;
resources = [{
compress = false;
names = [ "client" "federation" ];
}];
}]; }];
}]; };
extraConfigFiles = [ extraConfigFiles = [
config.sops.secrets.matrix-registration-secret.path config.sops.secrets.matrix-registration-secret.path
]; ];
account_threepid_delegates = {
email = "https://vector.im";
msisdn = "https://vector.im";
};
}; };
}; };