From 7569c08ffc4de1fa5433e04aa15a5d25161826e1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 29 Jul 2022 01:56:19 -0400 Subject: install on cloud --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 54b3c6c..88a7b01 100755 --- a/install.sh +++ b/install.sh @@ -14,9 +14,9 @@ else NIXFILE="$(pwd)/$1" # # start from scratch - rm "$HOMEFILE" + rm "$HOMEFILE" || true ln -s "$NIXFILE" "$HOMEFILE" - rm "$NIXDIR/config.nix" + rm "$NIXDIR/config.nix" || true ln -s "$(pwd)/lib/config.nix" "$NIXDIR/config.nix" # # the notmuch config location is by default ~/.notmuch-config, but home-manager -- cgit v1.2.3