From 8f07186bb340ba23e120806953ee9005fa5fe032 Mon Sep 17 00:00:00 2001 From: Casey Ransom <1957293+cransom@users.noreply.github.com> Date: Thu, 3 Aug 2023 12:25:56 -0400 Subject: [PATCH] nixos/parsedmarc: fix validation for smtp Update the ini generator so that a list of emails is accepted. --- nixos/modules/services/monitoring/parsedmarc.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/monitoring/parsedmarc.nix b/nixos/modules/services/monitoring/parsedmarc.nix index 44fc359b6a7d..a146e7ab9543 100644 --- a/nixos/modules/services/monitoring/parsedmarc.nix +++ b/nixos/modules/services/monitoring/parsedmarc.nix @@ -301,6 +301,7 @@ in description = lib.mdDoc '' The addresses to send outgoing mail to. ''; + apply = x: if x == [] then null else lib.concatStringsSep "," x; }; };