1
1
mirror of https://github.com/dali99/nixos-matrix-modules.git synced 2025-09-10 04:53:48 +02:00

update to 23.11

This commit is contained in:
2023-12-01 06:07:53 +01:00
parent e098146571
commit a24a5e5da4
3 changed files with 22 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
{ matrix-synapse-common-config,
matrix-lib,
pluginsEnv,
wrapped,
throw',
format
}:
@@ -333,11 +333,6 @@ in {
wantedBy = [ "matrix-synapse.target" ];
after = [ "matrix-synapse.service" ];
requires = [ "matrix-synapse.service" ];
environment = {
PYTHONPATH = lib.makeSearchPathOutput "lib" cfg.package.python.sitePackages [
pluginsEnv
];
};
serviceConfig = {
Type = "notify";
User = "matrix-synapse";
@@ -355,7 +350,7 @@ in {
config-path = [ matrix-synapse-common-config (workerConfig worker) ] ++ cfg.extraConfigFiles;
keys-directory = cfg.dataDir;
};
in "${cfg.package}/bin/synapse_worker ${flags}";
in "${wrapped}/bin/synapse_worker ${flags}";
};
};
}));