mirror of
https://github.com/nix-community/home-manager
synced 2024-06-02 04:53:33 +02:00
Created Mail configurations (markdown)
parent
041452be49
commit
afecac8358
25
Mail-configurations.md
Normal file
25
Mail-configurations.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# msmtp error: "account default was already defined in this file"
|
||||
|
||||
This error happens when using msmtp with several accounts. Error was solved upstream https://gitlab.marlam.de/marlam/msmtp/issues/26#note_202. You can add to your overlay while waiting for the fix to reach nixpkgs:
|
||||
|
||||
msmtp = super.msmtp.overrideAttrs(oa: {
|
||||
buildInputs = [ super.pkgs.texinfo ];
|
||||
|
||||
src = builtins.fetchurl {
|
||||
url = "https://gitlab.marlam.de/marlam/msmtp/repository/archive.tar.gz?ref=9f9948732a0153a54f7324873fdb5cafbcd9d2d6";
|
||||
sha256 = "1b0062h1ik5i78wv26vmfsgk4bl434dlci62l6pz148hvw6nkpjp";
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
# how to have mbsync automatically update notmuch
|
||||
|
||||
Wrap the mbsync executable
|
||||
programs.mbsync = {
|
||||
enable = true;
|
||||
package = pkgs.writeShellScriptBin "mbsync" ''
|
||||
${pkgs.isync}/bin/mbsync $@
|
||||
notmuch new
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user