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