From 36d641d4f4d91d06a9b279050d985813bfb064a4 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 14 Nov 2018 14:58:30 -0800 Subject: Symlink stuff before installing --- install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3