commit 7ed72122171bf6cd6157e4063ddc1a8b7060cfd2 parent 000b3d45ebdb387b91b05f5512beb7b46a62a7bd Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 23 Mar 2019 15:05:39 +0100 profiles.mails: cosmetic updates and remove `mu` Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | modules/profiles/mails.nix | | | 25 | +++++++++++++------------ |
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix @@ -113,16 +113,10 @@ xdg.configFile."mbsync/postExec" = { executable = true; }; -programs.astroid = { - enable = true; - externalEditor = "emacsclient -c"; - extraConfig = { - startup.queries.inbox = "tag:Inbox"; - startup.queries.inbox_perso = "tag:Inbox and tag:perso"; - startup.queries.inbox_redhat = "tag:Inbox and tag:redhat"; - }; -}; programs.mbsync.enable = true; +programs.notmuch.enable = true; +programs.msmtp.enable = true; + programs.afew = { enable = true; extraConfig = '' @@ -141,9 +135,16 @@ programs.afew = { redhat/Inbox = 'NOT tag:Inbox':"redhat/[Gmail]/All Mail" ''; }; -programs.notmuch.enable = true; -programs.msmtp.enable = true; -home.packages = with pkgs; [ mu ]; + +programs.astroid = { + enable = true; + externalEditor = "emacsclient -c"; + extraConfig = { + startup.queries.inbox = "tag:Inbox"; + startup.queries.inbox_perso = "folder:perso/Inbox"; + startup.queries.inbox_redhat = "folder:redhat/Inbox"; + }; +}; home.file."bin/msmtp" = { text = ''