diff options
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers')
-rw-r--r-- | host/Rory-nginx/services/matrix/synapse/workers/stream-writers/event-stream-writer.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/event-stream-writer.nix b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/event-stream-writer.nix index 42e9251..dba4721 100644 --- a/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/event-stream-writer.nix +++ b/host/Rory-nginx/services/matrix/synapse/workers/stream-writers/event-stream-writer.nix @@ -9,7 +9,7 @@ let streamWriters = lib.range 0 (cfg.eventStreamWriters - 1); in { - services.matrix-synapse = { + services.matrix-synapse = lib.mkIf (cfg.eventStreamWriters > 0) { settings = { instance_map = lib.listToAttrs ( lib.map (port: { |