Experimental arbitrary directory dotfiles install + re-added simplified phoenix wrapper script + updated readme with these changes

This commit is contained in:
Emmet 2024-04-14 09:40:46 -05:00
parent 3148ea5ab7
commit 7c457d29de
14 changed files with 189 additions and 46 deletions

View file

@ -18,10 +18,10 @@
# RUNNING nixos-rebuild switch!
if [ "$#" = 1 ]; then
dotfilesDir=$1;
SCRIPT_DIR=$1;
else
dotfilesDir=$(pwd);
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
fi
pushd $dotfilesDir &> /dev/null;
pushd $SCRIPT_DIR &> /dev/null;
chown -R 1000:users .;
popd &> /dev/null;