mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-15 23:12:47 +01:00
neomutt: add support for signature command (#2899)
Neomutt will run the given command (which can be a string or a path) and take the output from stdout and use it as the signature for your email. Co-authored-by: Nicolas Berbiche <nicolas@normie.dev>
This commit is contained in:
parent
778af87a98
commit
f8b51be714
11 changed files with 197 additions and 6 deletions
|
|
@ -44,6 +44,15 @@ let
|
|||
'';
|
||||
};
|
||||
|
||||
command = mkOption {
|
||||
type = with types; nullOr path;
|
||||
default = null;
|
||||
example = literalExpression ''
|
||||
pkgs.writeScript "signature" "echo This is my signature"
|
||||
'';
|
||||
description = "A command that generates a signature.";
|
||||
};
|
||||
|
||||
showSignature = mkOption {
|
||||
type = types.enum [ "append" "attach" "none" ];
|
||||
default = "none";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue