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.
This commit is contained in:
toastal 2022-10-16 15:21:24 +07:00 committed by Robert Helgesson
parent 9e266ca2a7
commit 05d71f517b
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 {
type = with types; nullOr path;
default = null;