diff options
author | Vincent Ambo <mail@tazj.in> | 2018-06-06T14·26+0200 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2018-06-06T14·26+0200 |
commit | 1239f26e8a771b4040e8ebd557de0738b4d7d24a (patch) | |
tree | 1134cc0c0cac7f4867a81f97e03cdb5371e6c79f /dotfiles/notmuch-config | |
parent | 969c0071820b29061d4efe3d230831ae5f7c97b3 (diff) |
feat(mail): Import email configuration into Nix
This moves my email configuration into NixOS, including the following features: 1. Replaced the NixOS-builtin offlineimap user service with a custom one that runs notmuch-indexing as part of the systemd unit instead of a postsynchook, which is significantly more reliable. 2. Adds configuration for notmuch and its tagging. 3. Adds configuration for OfflineIMAP & MSMTP. Relevant emacs configuration has also been added to my emacs.d repository.
Diffstat (limited to 'dotfiles/notmuch-config')
-rw-r--r-- | dotfiles/notmuch-config | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dotfiles/notmuch-config b/dotfiles/notmuch-config new file mode 100644 index 000000000000..083be6d8ca19 --- /dev/null +++ b/dotfiles/notmuch-config @@ -0,0 +1,21 @@ +# .notmuch-config - Configuration file for the notmuch mail system +# +# For more information about notmuch, see https://notmuchmail.org + +[database] +path=/home/vincent/mail + +[user] +name=Vincent Ambo +primary_email=mail@tazj.in +other_email=vincent@aprila.no;tazjin@gmail.com; + +[new] +tags=unread;inbox; +ignore= + +[search] +exclude_tags=deleted;spam; + +[maildir] +synchronize_flags=true |