blob: 933642ba8dda25e85536b3cd889140419be292d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ config, pkgs, lib, ... }:
let
cfg = config.services.matrix-synapse;
in
{
services.matrix-synapse = lib.mkIf cfg.enableAppserviceWorker {
settings = {
instance_map = {
appservice = {
path = "/run/matrix-synapse/appservice.sock";
};
};
notify_appservices_from_worker = "appservice";
};
workers = {
appservice = {
worker_app = "synapse.app.generic_worker";
worker_listeners = [ ];
};
};
};
}
|