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:
parent
e006495c15
commit
c4c5ef1fa8
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue