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:
parent
9e266ca2a7
commit
05d71f517b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue