nixos/parsedmarc: fix validation for smtp

Update the ini generator so that a list of emails is accepted.
This commit is contained in:
Casey Ransom
2023-08-03 12:25:56 -04:00
committed by Casey Ransom
parent 9aabdcf43f
commit 8f07186bb3

View File

@@ -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;
};
};