nixos/parsedmarc: fix validation for smtp

Update the ini generator so that a list of emails is accepted.

Changed files
+1
nixos
modules
services
monitoring
+1
nixos/modules/services/monitoring/parsedmarc.nix
···
description = lib.mdDoc ''
The addresses to send outgoing mail to.
'';
};
};
···
description = lib.mdDoc ''
The addresses to send outgoing mail to.
'';
+
apply = x: if x == [] then null else lib.concatStringsSep "," x;
};
};