From f3b91d75d2d3153e9fa4d7414929dcc531779727 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 27 Aug 2019 14:34:49 -0700 Subject: reorganize, and some small fixes --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 360ffdd..27513cc 100755 --- a/install.sh +++ b/install.sh @@ -16,18 +16,18 @@ HOMEFILE="$NIXDIR/home.nix" NIXFILE="$(pwd)/$1" [[ -e "$HOMEFILE" ]] || ln -s "$NIXFILE" "$HOMEFILE" -[[ -e "$NIXDIR/config.nix" ]] || ln -s "$(pwd)/config.nix" "$NIXDIR/config.nix" +[[ -e "$NIXDIR/config.nix" ]] || ln -s "$(pwd)/lib/config.nix" "$NIXDIR/config.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. - +# mkdir -p ~/.config/notmuch [[ -e ~/.notmuch-config ]] || ln -s ~/.config/notmuch/notmuchrc ~/.notmuch-config -# Symlinking must occure before initial generation - +# Symlinking must occur before initial generation +# nix-shell ./home-manager -A install -- cgit v1.2.3