summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorKim Lindberger <kim.lindberger@gmail.com>2023-11-16 15:06:20 +0100
committerGitHub <noreply@github.com>2023-11-16 15:06:20 +0100
commit9c4df4d618f822af4179fe0adc342c7431d811a9 (patch)
treecf7881f01e6b33b3f62d569f60871412d9859613 /nixos/modules
parentcc3e602acfe6ca110c0de86689f22f3fe363fde1 (diff)
parent8f07186bb340ba23e120806953ee9005fa5fe032 (diff)
Merge pull request #246992 from cransom/cransom-parsedmarc-smtp
nixos/parsedmarc: fix validation for smtp
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/monitoring/parsedmarc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/parsedmarc.nix b/nixos/modules/services/monitoring/parsedmarc.nix
index 44fc359b6a7de..a146e7ab95435 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;
             };
           };