email: add signature delimiter

While this is created to match `himalaya`’s configuration API, this
could easly be reused for other programs that consume the email module
by concatination the strings.

(cherry picked from commit 05d71f517b)
This commit is contained in:
toastal 2022-10-16 15:21:24 +07:00 committed by Robert Helgesson
parent e006495c15
commit c4c5ef1fa8
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -44,6 +44,19 @@ let
''; '';
}; };
delimiter = mkOption {
type = types.str;
default = ''
--
'';
example = literalExpression ''
~*~*~*~*~*~*~*~*~*~*~*~
'';
description = ''
The delimiter used between the document and the signature.
'';
};
command = mkOption { command = mkOption {
type = with types; nullOr path; type = with types; nullOr path;
default = null; default = null;