about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-28 01:25:46 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-29 13:47:02 +0200
commitc69fd0861dd05d173876e1d028eeca549242bba7 (patch)
tree574907b544b1bf9774a9538d89fb8e98f251c29b /modules
parentMisc: Update usage (diff)
downloadnixos-config-c69fd0861dd05d173876e1d028eeca549242bba7.tar.gz
nixos-config-c69fd0861dd05d173876e1d028eeca549242bba7.tar.bz2
nixos-config-c69fd0861dd05d173876e1d028eeca549242bba7.zip
Modules: Email: Neomutt: Add gmail mailboxes
Diffstat (limited to 'modules')
-rw-r--r--modules/email/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/email/default.nix b/modules/email/default.nix
index 1658843..67dbeaa 100644
--- a/modules/email/default.nix
+++ b/modules/email/default.nix
@@ -57,11 +57,19 @@
         };
         neomutt = {
           enable = true;
+          mailboxName = "Inbox";
+          extraMailboxes = [
+            "\[Gmail\]/Sent\ Mail"
+            "\[Gmail\]/Bin"
+            "\[Gmail\]/Starred"
+            "\[Gmail\]/Drafts"
+          ];
           extraConfig = ''
             set edit_headers = yes  # See the headers when editing
             set charset = UTF-8     # value of $LANG; also fallback for send_charset
             unset use_domain        # because joe@localhost is just embarrassing
             set use_from = yes
+            set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s'
           '';
           /*extraConfig = ''
             set imap_user = 'manuelpalenzuelamerino@gmail.com'