From 21aee9741936b4600865834d3907b6ed847a7b85 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sat, 5 Jul 2025 21:15:04 +0200 Subject: [PATCH] nixos/mautrix-whatsapp: fix defaultText of serviceDependencies --- nixos/modules/services/matrix/mautrix-whatsapp.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/services/matrix/mautrix-whatsapp.nix b/nixos/modules/services/matrix/mautrix-whatsapp.nix index d43032f9a31d..5d027de53ca5 100644 --- a/nixos/modules/services/matrix/mautrix-whatsapp.nix +++ b/nixos/modules/services/matrix/mautrix-whatsapp.nix @@ -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. '';