email: add kh.col account

This commit is contained in:
Khaïs COLIN 2025-03-08 10:48:05 +01:00
parent 4d77f320a6
commit cc3657e753
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo

View file

@ -281,6 +281,7 @@ in {
# email
programs.mbsync.enable = true;
programs.msmtp.enable = true;
programs.offlineimap.enable = true;
programs.lieer = {
enable = true;
@ -288,10 +289,6 @@ in {
accounts.email.accounts.gmail = {
address = "khais.colin@gmail.com";
mbsync = {
enable = false;
create = "maildir";
};
lieer = {
enable = true;
settings.local_trash_tag = "killed";
@ -313,13 +310,39 @@ in {
flavor = "gmail.com";
};
accounts.email.accounts.orange = {
address = "kh.col@orange.fr";
offlineimap = {
enable = true;
};
msmtp.enable = true;
notmuch.enable = true;
realName = "Khaïs COLIN";
signature = {
text = ''
Cordialement,
-- Khaïs COLIN
'';
showSignature = "append";
};
passwordCommand = "cat /home/khais/.home-manager-orange-password";
userName = "kh.col@orange.fr";
imap = {
host = "imap.orange.fr";
port = 993;
};
smtp = {
host = "smtp.orange.fr";
};
};
programs.notmuch = {
enable = true;
new = {
tags = ["new" "unread"];
};
hooks = {
preNew = "gmi sync --path ~/Maildir/gmail; mbsync --all";
preNew = "gmi sync --path ~/Maildir/gmail; offlineimap";
postNew = "afew --verbose --tag --new";
};
search.excludeTags = [