nixos/mautrix-whatsapp: fix defaultText of serviceDependencies (#422774)

This commit is contained in:
Sandro
2025-07-06 20:21:50 +02:00
committed by GitHub
@@ -105,9 +105,7 @@ in
serviceDependencies = lib.mkOption {
type = with lib.types; listOf str;
default = lib.optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit;
defaultText = lib.literalExpression ''
optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnits
'';
defaultText = lib.literalExpression "lib.optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnits";
description = ''
List of Systemd services to require and wait for when starting the application service.
'';