diff options
author | Casey Ransom <1957293+cransom@users.noreply.github.com> | 2023-08-03 12:25:56 -0400 |
---|---|---|
committer | Casey Ransom <cransom@hubns.net> | 2023-08-03 12:33:33 -0400 |
commit | 8f07186bb340ba23e120806953ee9005fa5fe032 (patch) | |
tree | ab0e1d19889ac28cb8a941f545f1915c6e10ecd1 | |
parent | 9aabdcf43f70b18bdebc39d7796c984672603d3e (diff) |
nixos/parsedmarc: fix validation for smtp
Update the ini generator so that a list of emails is accepted.
-rw-r--r-- | nixos/modules/services/monitoring/parsedmarc.nix | 1 |
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; }; }; |