From 98d41aa9374b033f194f940ba3983babc29e5ef8 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 7 Nov 2018 12:15:57 -0800 Subject: Configure email --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index fb37c4a..a9bf4d8 100755 --- a/install.sh +++ b/install.sh @@ -11,3 +11,10 @@ nix-shell $HM_PATH -A install mkdir -p ~/.config [[ -L ~/config ]] && ln -s ~/config/home.nix ~/.config/nixpkgs/home.nix + +# The notmuch config location is by default ~/.notmuch-config, but home-manager +# puts it at ~/.config/notmuch/notmuchrc (which makes sense) and then sets +# NOTMUCH_CONFIG. However, if a program for some reason doesn't read +# NOTMUCH_CONFIG (emacs), then it won't find the right config file, so I +# override with a symlink. +[[ -L ~/.notmuch-config ]] && ln -s ~/.config/notmuch/notmuchrc ~/.notmuch-config -- cgit v1.2.3