improve flake behaviour
This commit is contained in:
parent
b7ce2d0d90
commit
9a25864f4b
1 changed files with 1 additions and 0 deletions
|
|
@ -294,6 +294,7 @@
|
||||||
script = ''
|
script = ''
|
||||||
[[ ! -d '/root/nixconf' ]] && git clone git@github.com:itepastra/nixconf /root/nixconf
|
[[ ! -d '/root/nixconf' ]] && git clone git@github.com:itepastra/nixconf /root/nixconf
|
||||||
cd /root/nixconf
|
cd /root/nixconf
|
||||||
|
git fetch
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
git pull
|
git pull
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue