Remove mu and wanderlust for notmuch
This commit is contained in:
parent
61c5434ba3
commit
d1483e5989
|
@ -15,7 +15,6 @@
|
||||||
hooks.postNew = "${pkgs.notifymuch}/bin/notifymuch";
|
hooks.postNew = "${pkgs.notifymuch}/bin/notifymuch";
|
||||||
};
|
};
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
mu.enable = true;
|
|
||||||
};
|
};
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = ".mail";
|
maildirBasePath = ".mail";
|
||||||
|
@ -56,7 +55,6 @@
|
||||||
auth = "login";
|
auth = "login";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mu.enable = true;
|
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
};
|
};
|
||||||
icloud = rec {
|
icloud = rec {
|
||||||
|
@ -76,7 +74,6 @@
|
||||||
subFolders = "Verbatim";
|
subFolders = "Verbatim";
|
||||||
};
|
};
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
mu.enable = true;
|
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,45 +39,18 @@
|
||||||
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1))))
|
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1))))
|
||||||
|
|
||||||
;; mail settings
|
;; mail settings
|
||||||
(after! notmuch
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
(setq +notmuch-sync-backend 'mbsync)
|
|
||||||
(set-popup-rule! "^\\*notmuch-hello" :ignore t))
|
|
||||||
|
|
||||||
(after! mu4e
|
|
||||||
(setq mu4e-get-mail-command "true"
|
|
||||||
mu4e-update-interval 60
|
|
||||||
mu4e-sent-messages-behavior 'delete
|
|
||||||
mu4e-attachment-dir "~/Downloads"
|
|
||||||
mu4e-change-filenames-when-moving t
|
|
||||||
sendmail-program (executable-find "msmtp")
|
|
||||||
send-mail-function #'smtpmail-send-it
|
send-mail-function #'smtpmail-send-it
|
||||||
|
mail-specify-envelope-from t
|
||||||
|
mail-envelope-from 'header
|
||||||
|
message-sendmail-envelope-from 'header
|
||||||
message-sendmail-f-is-evil t
|
message-sendmail-f-is-evil t
|
||||||
message-sendmail-extra-arguments '("--read-envelope-from")
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
message-send-mail-function #'message-send-mail-with-sendmail)
|
message-send-mail-function #'message-send-mail-with-sendmail)
|
||||||
|
|
||||||
;; Add accounts with contexts
|
(after! notmuch
|
||||||
(set-email-account! "proton.me"
|
(setq +notmuch-sync-backend 'mbsync)
|
||||||
'((user-mail-address . "e.litherlandsmith@proton.me")
|
(set-popup-rule! "^\\*notmuch-hello" :ignore t))
|
||||||
(mu4e-sent-folder . "/Proton/Sent")
|
|
||||||
(mu4e-drafts-folder . "/Proton/Drafts")
|
|
||||||
(mu4e-trash-folder . "/Proton/Trash")
|
|
||||||
(mu4e-refile-folder . "/Proton/Archive"))
|
|
||||||
t)
|
|
||||||
(set-email-account! "icloud.com"
|
|
||||||
'((user-mail-address . "e.litherlandsmith@icloud.com")
|
|
||||||
(mu4e-sent-folder . "/iCloud/Sent")
|
|
||||||
(mu4e-drafts-folder . "/iCloud/Drafts")
|
|
||||||
(mu4e-trash-folder . "/iCloud/Trash")
|
|
||||||
(mu4e-refile-folder . "/iCloud/Archive"))
|
|
||||||
nil)
|
|
||||||
(set-email-account! "ukaea.uk"
|
|
||||||
'((user-mail-address . "evie.litherland-smith@ukaea.uk")
|
|
||||||
(mu4e-sent-folder . "/UKAEA/Sent")
|
|
||||||
(mu4e-drafts-folder . "/UKAEA/Drafts")
|
|
||||||
(mu4e-trash-folder . "/UKAEA/Trash")
|
|
||||||
(mu4e-refile-folder . "/UKAEA/Archive"))
|
|
||||||
nil)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; Calendar settings
|
;; Calendar settings
|
||||||
(defun open-calendar-all ()
|
(defun open-calendar-all ()
|
||||||
|
|
|
@ -176,9 +176,9 @@
|
||||||
;; zig ; C, but simpler
|
;; zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
(mu4e +org +gmail)
|
;; (mu4e +org +gmail)
|
||||||
(notmuch +afew +org)
|
(notmuch +afew +org)
|
||||||
(wanderlust +gmail)
|
;; (wanderlust +gmail)
|
||||||
|
|
||||||
:app
|
:app
|
||||||
calendar
|
calendar
|
||||||
|
|
|
@ -59,7 +59,6 @@
|
||||||
auth = "login";
|
auth = "login";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mu.enable = true;
|
|
||||||
notmuch.enable = true;
|
notmuch.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue