diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-02-08 15:33:48 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-04 23:57:32 +0100 |
commit | 550fc51d7b08c3d49989241fbe13469fb310a42b (patch) | |
tree | 9c21139a145ee08efb38d40908aba50cf5c4f231 /nixos | |
parent | 88ddbee02ecd30c6a5e513f5e3f1f9778edb4c90 (diff) | |
download | nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar.gz nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar.bz2 nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar.lz nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar.xz nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.tar.zst nixlib-550fc51d7b08c3d49989241fbe13469fb310a42b.zip |
nixos/tests/pantalaimon: use synapse setting option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/matrix/pantalaimon.nix | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/nixos/tests/matrix/pantalaimon.nix b/nixos/tests/matrix/pantalaimon.nix index fcb9904b2138..1a9894dd2159 100644 --- a/nixos/tests/matrix/pantalaimon.nix +++ b/nixos/tests/matrix/pantalaimon.nix @@ -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}"; + }; }; }; |