summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 1b40c4e..c00066d 100755
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-nix-shell ./home-manager -A install
+echo "Symlinking directories"
mkdir -p ~/.config/nixpkgs
@@ -17,4 +17,11 @@ NIXFILE="$(pwd)/$(uname | tr A-Z a-z).nix"
# 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.
+
+mkdir -p ~/.config/notmuch
[[ -e ~/.notmuch-config ]] || ln -s ~/.config/notmuch/notmuchrc ~/.notmuch-config
+
+
+# Symlinking must occure before initial generation
+
+nix-shell ./home-manager -A install