1
0
Fork 0

Bin: minor tweak to NOS

This commit is contained in:
Aires 2024-10-29 10:28:47 -04:00
parent 5127bdfca5
commit 36a758abe1

View file

@ -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