summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorCasey Ransom <1957293+cransom@users.noreply.github.com>2023-08-03 12:25:56 -0400
committerCasey Ransom <cransom@hubns.net>2023-08-03 12:33:33 -0400
commit8f07186bb340ba23e120806953ee9005fa5fe032 (patch)
treeab0e1d19889ac28cb8a941f545f1915c6e10ecd1 /nixos/modules
parent9aabdcf43f70b18bdebc39d7796c984672603d3e (diff)
downloadnixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar.gz
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar.bz2
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar.lz
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar.xz
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.tar.zst
nixpkgs-8f07186bb340ba23e120806953ee9005fa5fe032.zip
nixos/parsedmarc: fix validation for smtp
Update the ini generator so that a list of emails is accepted.
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 44fc359b6a7..a146e7ab954 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;
             };
           };