0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit

This commit is contained in:
Sophie Tauchert 2023-11-05 21:42:33 +01:00
parent 70dc536ae0
commit 8627e0ef58
No known key found for this signature in database
GPG key ID: 52701DE5F5F51125
6 changed files with 10 additions and 10 deletions

View file

@ -83,7 +83,7 @@ in
systemd.services.matrix-sliding-sync = rec {
after =
lib.optional cfg.createDatabase "postgresql.service"
++ lib.optional config.services.matrix-synapse.enable "matrix-synapse.service";
++ lib.optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit;
wants = after;
wantedBy = [ "multi-user.target" ];
environment = cfg.settings;