1
0
Fork 0
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:
Sumner Evans 2022-04-29 14:01:53 -06:00 committed by GitHub
parent 778af87a98
commit f8b51be714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 197 additions and 6 deletions

View file

@ -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";