diff options
author | Ben Sima <ben@bsima.me> | 2018-11-14 14:58:30 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-11-14 14:58:30 -0800 |
commit | 36d641d4f4d91d06a9b279050d985813bfb064a4 (patch) | |
tree | 0a1ec886b22266f8a8e3b624cb905291cb84e958 | |
parent | ee66111ba1ff1bb5e74fd836aa883204e59b0310 (diff) |
Symlink stuff before installing
-rwxr-xr-x | install.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |