add mbsyncrc

This commit is contained in:
Sakooooo 2024-07-13 22:12:51 +04:00
parent 9d86ef31da
commit 3a887eac1a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 23 additions and 0 deletions

22
config/emacs/.mbsyncrc Normal file
View file

@ -0,0 +1,22 @@
IMAPAccount outlook
Host outlook.office365.com
Port 993
UserCmd "pass Microsoft | awk 'BEGIN {ORS=\"\"} FNR == 2{gsub(\"login: \", \"\"); gsub(/ /, \"\"); print}'"
PassCmd "pass Microsoft"
SSLType IMAPS
IMAPStore outlook-remote
Account outlook
MaildirStore outlook-local
Subfolders Verbatim
Path ~/Mail/Outlook/
Inbox ~/Mail/Outlook/Inbox
Channel Outlook
Far :outlook-remote:
Near :outlook-local:
Patterns * !"Conversation History" !Calendar !Archive !Archives !Clutter !Drafts
Create Both
Expunge Both
SyncState *

View file

@ -109,6 +109,7 @@ in {
mv init.el $out mv init.el $out
''; '';
".emacs.d/icon.png".source = ../../../../config/emacs/icon.png; ".emacs.d/icon.png".source = ../../../../config/emacs/icon.png;
".mbsyncrc".source = ../../../../config/emacs/.mbsyncrc;
}; };
}; };