commit 1c8f6c340b72ece5a2b6ff40ca92a88cd22ac03b
parent 679d1a28d8a65a9db3600ee58946ce7b4c24170d
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 26 Feb 2019 17:19:00 +0100
mails: add a msmtp script…
… for additionnal args 😓
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix
@@ -128,5 +128,13 @@ in
programs.notmuch.enable = true;
programs.msmtp.enable = true;
home.packages = with pkgs; [ mu ];
+ home.file."bin/msmtp" = {
+ text = ''
+ #!${pkgs.stdenv.shell}
+
+ ${pkgs.msmtp}/bin/msmtp --read-envelope-from $@
+ '';
+ executable = true;
+ };
};
}