From 36a758abe1c979fbef2f36202ad3d48bcf679819 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 29 Oct 2024 10:28:47 -0400 Subject: [PATCH] Bin: minor tweak to NOS --- bin/nixos-operations-script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/nixos-operations-script.sh b/bin/nixos-operations-script.sh index 50d39bd..3382bfe 100755 --- a/bin/nixos-operations-script.sh +++ b/bin/nixos-operations-script.sh @@ -88,7 +88,8 @@ echo "Pulling the latest version of the repository..." if [ $update = true ]; then 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 echo "Skipping 'nix flake update'..." fi