summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-07 12:15:57 -0800
committerBen Sima <ben@bsima.me>2018-11-07 12:15:57 -0800
commit98d41aa9374b033f194f940ba3983babc29e5ef8 (patch)
tree52a3c978dbb9f5b0a1a40e3213b41d78e1a1dfb6 /install.sh
parent1e90212416d21d0bad313e1903f97a950e10e3f5 (diff)
Configure email
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
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