This commit is contained in:
death916 2026-03-11 09:16:47 -07:00
parent 7f10c9fca0
commit 62fcac8daf

View file

@ -28,8 +28,10 @@ echo "Building NixOS configuration..."
# If an argument is provided, use it as the hostname with -H.
# Otherwise, let nh autodetect the hostname.
if [ -z "$1" ]; then
echo "Running: nh os switch $REPO_ROOT"
nh os switch "$REPO_ROOT"
else
echo "Running: nh os switch $REPO_ROOT -H $@"
nh os switch "$REPO_ROOT" -H "$@"
fi