summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-08-16 12:16:21 +0200
committerRory& <root@rory.gay>2024-08-16 12:16:21 +0200
commit9778db57511950cda9d5c0f8955597d6b2282302 (patch)
treee946d27d44b425986240dd731afea7944894df1a /host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
parentNginx log request times (diff)
downloadRory-Open-Architecture-9778db57511950cda9d5c0f8955597d6b2282302.tar.xz
Some synapse workers cleanup
Diffstat (limited to 'host/Rory-nginx/services/matrix/synapse/workers/appservice.nix')
-rw-r--r--host/Rory-nginx/services/matrix/synapse/workers/appservice.nix38
1 files changed, 0 insertions, 38 deletions
diff --git a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix b/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
deleted file mode 100644
index e3b07bc..0000000
--- a/host/Rory-nginx/services/matrix/synapse/workers/appservice.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ config, lib, ... }:
-
-let
-  cfg = config.services.matrix-synapse;
-  workerName = "appservice";
-  workerRoutes = [ ];
-in
-{
-  services.matrix-synapse = lib.mkIf cfg.enableAppserviceWorker {
-    settings = {
-      instance_map = {
-        appservice = {
-          path = "/run/matrix-synapse/${workerName}.sock";
-        };
-      };
-
-      notify_appservices_from_worker = workerName;
-    };
-
-    workers = {
-      appservice = {
-        worker_app = "synapse.app.generic_worker";
-        worker_listeners = [
-          {
-            type = "http";
-            path = "/run/matrix-synapse/${workerName}.sock";
-            resources = [
-              {
-                names = [ "replication" ];
-                compress = false;
-              }
-            ];
-          }
-        ];
-      };
-    };
-  };
-}