diff options
author | Rory& <root@rory.gay> | 2024-07-04 15:13:45 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-07-04 15:13:45 +0200 |
commit | dfad9189d4848ce9d079ae734c76690038c54ca2 (patch) | |
tree | e44dfc453ecb6fc0c2e9575c59204817aa286b7b /host/Rory-nginx/services/matrix | |
parent | Fix sliding sync (diff) | |
download | Rory-Open-Architecture-dfad9189d4848ce9d079ae734c76690038c54ca2.tar.xz |
Fix missing if condition in synapse config
Diffstat (limited to 'host/Rory-nginx/services/matrix')
-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: { |