Bin: minor tweak to NOS
This commit is contained in:
parent
5127bdfca5
commit
36a758abe1
|
@ -88,7 +88,8 @@ echo "Pulling the latest version of the repository..."
|
||||||
|
|
||||||
if [ $update = true ]; then
|
if [ $update = true ]; then
|
||||||
echo "Updating flake.lock..."
|
echo "Updating flake.lock..."
|
||||||
/run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/nix flake update --commit-lock-file && /run/wrappers/bin/sudo -u $user git push
|
/run/wrappers/bin/sudo -u $user /run/current-system/sw/bin/nix flake update --commit-lock-file
|
||||||
|
/run/wrappers/bin/sudo -u $user git push
|
||||||
else
|
else
|
||||||
echo "Skipping 'nix flake update'..."
|
echo "Skipping 'nix flake update'..."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue