nixos/tests/pantalaimon: use synapse setting option

This commit is contained in:
Martin Weinelt 2022-02-08 15:33:48 +01:00
parent 88ddbee02e
commit 550fc51d7b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -47,9 +47,32 @@ import ../make-test-python.nix (
services.matrix-synapse = {
enable = true;
database_type = "sqlite3";
tls_certificate_path = "${cert}";
tls_private_key_path = "${key}";
settings = {
listeners = [ {
port = 8448;
bind_addresses = [
"127.0.0.1"
"::1"
];
type = "http";
tls = true;
x_forwarded = false;
resources = [ {
names = [
"client"
];
compress = true;
} {
names = [
"federation"
];
compress = false;
} ];
} ];
database.name = "sqlite3";
tls_certificate_path = "${cert}";
tls_private_key_path = "${key}";
};
};
};