Don't check out dotfiles if we already have them
This commit is contained in:
parent
cc07af2059
commit
e46481a2b2
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
git clone git@codeberg.org:djm/dotfiles.git
|
||||
[ -e ~/dotfiles ] || git clone git@codeberg.org:djm/dotfiles.git
|
||||
|
||||
nix-channel --add https://github.com/nix-community/home-manager/archive/release-$(nixos-version | cut -d. -f1-2).tar.gz home-manager
|
||||
nix-channel --update
|
||||
|
|
Loading…
Reference in New Issue