From 443d83394782c108e1c0d8ddf44c0b11dd180770 Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Sun, 16 Oct 2016 17:03:00 +1030 Subject: [PATCH] matrix-synapse: Pass required --report-stats opt --- nixos/modules/services/misc/matrix-synapse.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix index 4145f8fa957a..b5be7f95c69c 100644 --- a/nixos/modules/services/misc/matrix-synapse.nix +++ b/nixos/modules/services/misc/matrix-synapse.nix @@ -561,7 +561,11 @@ in { mkdir -p /var/lib/matrix-synapse chmod 700 /var/lib/matrix-synapse chown -R matrix-synapse:matrix-synapse /var/lib/matrix-synapse - ${cfg.package}/bin/homeserver --config-path ${configFile} --keys-directory /var/lib/matrix-synapse/ --generate-keys + ${cfg.package}/bin/homeserver \ + --config-path ${configFile} \ + --keys-directory /var/lib/matrix-synapse/ \ + --generate-keys \ + --report-stats ${if cfg.report_stats then "yes" else "no"} fi ''; serviceConfig = {