diff options
-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 |