summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorSophie Tauchert <sophie@999eagle.moe>2023-07-06 22:28:15 +0200
committerSophie Tauchert <sophie@999eagle.moe>2023-09-18 08:24:35 +0200
commitb7c41da8d68c7e82c9957cc530e1141f0ca5aba6 (patch)
treeaf52f734f997af69393f19428bc7a16c481cdadf /nixos/modules/services
parentf15212aad86ad80fb355c8071c1e1e9a9ea879c7 (diff)
downloadnixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar.gz
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar.bz2
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar.lz
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar.xz
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.tar.zst
nixpkgs-b7c41da8d68c7e82c9957cc530e1141f0ca5aba6.zip
nixos/synapse: update listener settings
The resource type health is currently missing, but should be available
according to https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#listeners
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/matrix/synapse.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/synapse.nix b/nixos/modules/services/matrix/synapse.nix
index 1dc21167175..decf9c42c84 100644
--- a/nixos/modules/services/matrix/synapse.nix
+++ b/nixos/modules/services/matrix/synapse.nix
@@ -227,6 +227,7 @@ in {
                   "client"
                   "consent"
                   "federation"
+                  "health"
                   "keys"
                   "media"
                   "metrics"
@@ -242,9 +243,10 @@ in {
                 ];
               };
               compress = mkOption {
+                default = false;
                 type = types.bool;
                 description = lib.mdDoc ''
-                  Should synapse compress HTTP responses to clients that support it?
+                  Whether synapse should compress HTTP responses to clients that support it.
                   This should be disabled if running synapse behind a load balancer
                   that can do automatic compression.
                 '';