deploy script: clone from nixos branch
This commit is contained in:
parent
fbfed033b0
commit
b011bd3cf2
2
deploy
2
deploy
|
@ -12,7 +12,7 @@ HOST=${1:-${HOST:-$(hostname)}}
|
||||||
|
|
||||||
DOTFILES="/home/$USER/.dotfiles"
|
DOTFILES="/home/$USER/.dotfiles"
|
||||||
if [ ! -d /etc/dotfiles ]; then
|
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"
|
chown -R $USER:users "$DOTFILES"
|
||||||
fi
|
fi
|
||||||
ln -sf "$DOTFILES" /etc/dotfiles
|
ln -sf "$DOTFILES" /etc/dotfiles
|
||||||
|
|
Loading…
Reference in a new issue