From bae5096e4dded1d5d2d3e4b706bc6ad1ee7b676c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 7 Jul 2026 12:39:49 +0200 Subject: scripts/update_hosts.remote: Use the default `nixos-rebuild` The `ng` version got renamed to just the base, because the perl version is no-longer available. --- scripts/update_hosts.remote | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.3.1