🔧 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,13 +16,23 @@
matrix-synapse = {
enable = true;
settings = {
server_name = "walkah.chat";
public_baseurl = "https://matrix.walkah.chat";
enable_metrics = true;
enable_registration = false;
database_type = "psycopg2";
database_args = { database = "matrix"; };
database = {
name = "psycopg2";
args = { database = "matrix"; };
};
account_threepid_delegates = {
email = "https://vector.im";
msisdn = "https://vector.im";
};
listeners = [{
bind_addresses = [
"0.0.0.0"
];
port = 8008;
type = "http";
tls = false;
@ -32,14 +42,10 @@
names = [ "client" "federation" ];
}];
}];
};
extraConfigFiles = [
config.sops.secrets.matrix-registration-secret.path
];
account_threepid_delegates = {
email = "https://vector.im";
msisdn = "https://vector.im";
};
};
};