diff options
author | Sophie Tauchert <sophie@999eagle.moe> | 2023-11-05 21:42:33 +0100 |
---|---|---|
committer | Sophie Tauchert <sophie@999eagle.moe> | 2023-11-05 21:43:08 +0100 |
commit | 8627e0ef5899e67de5d92430c60c572e472e555c (patch) | |
tree | 4a4ce3be24ed9f5419713370c1d4d9bfe582c8d9 /nixos/modules/services/matrix/mautrix-telegram.nix | |
parent | 70dc536ae0b3c461651599a0853c0484913fd34d (diff) |
nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit
Diffstat (limited to 'nixos/modules/services/matrix/mautrix-telegram.nix')
-rw-r--r-- | nixos/modules/services/matrix/mautrix-telegram.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/matrix/mautrix-telegram.nix b/nixos/modules/services/matrix/mautrix-telegram.nix index 97a6ba858e004..168c8bf436acc 100644 --- a/nixos/modules/services/matrix/mautrix-telegram.nix +++ b/nixos/modules/services/matrix/mautrix-telegram.nix @@ -122,9 +122,9 @@ in { serviceDependencies = mkOption { type = with types; listOf str; - default = optional config.services.matrix-synapse.enable "matrix-synapse.service"; + default = optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit; defaultText = literalExpression '' - optional config.services.matrix-synapse.enable "matrix-synapse.service" + optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit ''; description = lib.mdDoc '' List of Systemd services to require and wait for when starting the application service. |