summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/matrix/mautrix-facebook.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/matrix/mautrix-facebook.nix')
-rw-r--r--nixos/modules/services/matrix/mautrix-facebook.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/mautrix-facebook.nix b/nixos/modules/services/matrix/mautrix-facebook.nix
index bab6865496dd..671040500df8 100644
--- a/nixos/modules/services/matrix/mautrix-facebook.nix
+++ b/nixos/modules/services/matrix/mautrix-facebook.nix
@@ -145,7 +145,7 @@ in {
wantedBy = [ "multi-user.target" ];
wants = [
"network-online.target"
- ] ++ optional config.services.matrix-synapse.enable "matrix-synapse.service"
+ ] ++ optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit
++ optional cfg.configurePostgresql "postgresql.service";
after = wants;