aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/neomutt
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 22:04:25 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 22:04:25 +0530
commit17162952e010a6095dc78764bd376f8adef07909 (patch)
tree63cc5ab44ddd373249e519980ebb92b53ee3a4ed /modules/communication/neomutt
parent6b5020927fbb0a041f54c2224d4734e97cf78097 (diff)
downloadhome-manager-config-17162952e010a6095dc78764bd376f8adef07909.tar.gz
home-manager-config-17162952e010a6095dc78764bd376f8adef07909.zip
fix: enabled neomutt program
Forgot to set programs.neomutt.enable when communication.neomutt.enable was set
Diffstat (limited to 'modules/communication/neomutt')
-rw-r--r--modules/communication/neomutt/neomutt.nix3
-rw-r--r--modules/communication/neomutt/theme.nix2
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/communication/neomutt/neomutt.nix b/modules/communication/neomutt/neomutt.nix
index 84afdf7..30e9229 100644
--- a/modules/communication/neomutt/neomutt.nix
+++ b/modules/communication/neomutt/neomutt.nix
@@ -75,6 +75,7 @@ in
'';
programs.neomutt = {
+ enable = true;
sidebar.enable = true;
sort = "reverse-threads";
vimKeys = true;
@@ -392,7 +393,7 @@ in
"pager"
];
key = "O";
- action = "<sync-mailbox><shell-escape>mbsync -a<enter><sync-mailbox>";
+ action = "<sync-mailbox><shell-escape>mbsync -a && notmuch new<enter><sync-mailbox>";
}
{
# gx: extract links from the current message and open one, vim-netrw style
diff --git a/modules/communication/neomutt/theme.nix b/modules/communication/neomutt/theme.nix
index 583b03f..38e8abd 100644
--- a/modules/communication/neomutt/theme.nix
+++ b/modules/communication/neomutt/theme.nix
@@ -117,7 +117,7 @@
color body brightblack default "^gpg: " #
# --- Sidebar (was completely unset despite sidebar.enable = true) -----
- set sidebar_format = " %D%* %?N? %N%?F? %F? "
+ set sidebar_format = " %D%* %?N? %N ?%?F? %F ?"
color sidebar_background default default # transparent, blends with terminal bg
color sidebar_divider white default # base03 (matches old tree color)
color sidebar_ordinary white default # base05 (normal mailbox entries)