Remove notmuch+neomutt, still prefer mu(4e)

This commit is contained in:
Evie Litherland-Smith 2024-02-29 16:07:55 +00:00
parent c0daef5a76
commit d4a7433edd

View file

@ -31,7 +31,6 @@
userName = address;
passwordCommand = "${pkgs.pass}/bin/pass show mbsync/${hostName}/proton | head -n1";
mu.enable = lib.mkDefault accountEnabled;
neomutt.enable = lib.mkDefault accountEnabled;
msmtp = {
enable = lib.mkDefault accountEnabled;
extraConfig = {
@ -48,10 +47,6 @@
subFolders = "Verbatim";
extraConfig.account.AuthMechs = "LOGIN";
};
notmuch = {
enable = lib.mkDefault accountEnabled;
neomutt.enable = true;
};
};
icloud = let
accountEnabled = true;
@ -65,7 +60,6 @@
userName = address;
passwordCommand = "${pkgs.pass}/bin/pass show mbsync/${hostName}/icloud | head -n1";
mu.enable = lib.mkDefault accountEnabled;
neomutt.enable = lib.mkDefault accountEnabled;
msmtp.enable = lib.mkDefault accountEnabled;
mbsync = {
enable = lib.mkDefault accountEnabled;
@ -75,10 +69,6 @@
patterns = ["*" "!Notes"];
subFolders = "Verbatim";
};
notmuch = {
enable = lib.mkDefault accountEnabled;
neomutt.enable = true;
};
};
outlook = let
host = "127.0.0.1";
@ -101,7 +91,6 @@
userName = address;
passwordCommand = "${pkgs.pass}/bin/pass show mbsync/${hostName}/outlook | head -n1";
mu.enable = lib.mkDefault accountEnabled;
neomutt.enable = lib.mkDefault accountEnabled;
msmtp = {
enable = lib.mkDefault accountEnabled;
extraConfig = {
@ -125,17 +114,10 @@
subFolders = "Verbatim";
extraConfig.account.AuthMechs = "LOGIN";
};
notmuch = {
enable = lib.mkDefault accountEnabled;
neomutt.enable = true;
};
};
};
};
programs = {
# afew.enable = true;
# alot.enable = true;
neomutt.enable = true;
mu.enable = true;
msmtp.enable = true;
mbsync = {
@ -146,11 +128,6 @@
outlook = ["INBOX"];
};
};
notmuch = {
enable = true;
new.tags = ["new"];
maildir.synchronizeFlags = true;
};
};
systemd.user.services = let
emailAccounts = config.accounts.email.accounts;