diff options
| -rw-r--r-- | scripts/update_hosts.remote | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_hosts.remote b/scripts/update_hosts.remote index 7323a33..249b24e 100644 --- a/scripts/update_hosts.remote +++ b/scripts/update_hosts.remote @@ -27,7 +27,7 @@ PATH_add lixPackageSets.latest.lix # We might or might not have python, and we need it, because we use the unwrapped # `nixos-update`. PATH_add python3 -PATH_add nixos-rebuild-ng +PATH_add nixos-rebuild set -x cd /etc/nixos @@ -36,6 +36,6 @@ sudo git fetch --all --prune sudo git switch "$branch" sudo git pull --rebase -PYTHONNOUSERSITE='true' sudo --preserve-env=PATH --preserve-env=PYTHONNOUSERSITE ".nixos-rebuild-ng-wrapped" --no-reexec boot +PYTHONNOUSERSITE='true' sudo --preserve-env=PATH --preserve-env=PYTHONNOUSERSITE ".nixos-rebuild-wrapped" --no-reexec boot sudo reboot |
