summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix')
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
index b030706..4309a9f 100644
--- a/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
+++ b/host/Rory-nginx/services/matrix/synapse/workers/media-repo.nix
@@ -2,6 +2,9 @@
 
 let
   cfg = config.services.matrix-synapse;
+  dbGroup = "solo";
+  hasClientResource = false;
+  hasFederationResource = false;
   workers = lib.range 0 (cfg.mediaRepoWorkers - 1);
   workerName = "media_repo";
   routes = [
@@ -62,8 +65,8 @@ in
             ];
             database = (
               import ../db.nix {
+                inherit dbGroup;
                 workerName = "${workerName}-${toString index}";
-                dbGroup = "solo";
               }
             );
             enable_media_repo = true;