deploy script: clone from nixos branch

This commit is contained in:
Henrik Lissner 2020-01-23 19:03:23 -05:00
parent fbfed033b0
commit b011bd3cf2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

2
deploy
View file

@ -12,7 +12,7 @@ HOST=${1:-${HOST:-$(hostname)}}
DOTFILES="/home/$USER/.dotfiles"
if [ ! -d /etc/dotfiles ]; then
git clone https://github.com/hlissner/dotfiles "$DOTFILES"
git clone -b nixos https://github.com/hlissner/dotfiles "$DOTFILES"
chown -R $USER:users "$DOTFILES"
fi
ln -sf "$DOTFILES" /etc/dotfiles