diff --git a/lockfile-update.sh b/lockfile-update.sh index 068805e..0035676 100755 --- a/lockfile-update.sh +++ b/lockfile-update.sh @@ -1 +1,4 @@ -nix flake update --recreate-lock-file --commit-lock-file \ No newline at end of file +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p bash + +nix flake update --commit-lock-file \ No newline at end of file diff --git a/update.sh b/update.sh index c49880c..700a22a 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,6 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p bash + git pull -nix flake update --recreate-lock-file # intentionally ignore the lockfile +nix flake update # intentionally ignore the lockfile sudo nixos-rebuild switch --flake . \ No newline at end of file