This commit is contained in:
death916 2026-03-11 09:11:00 -07:00
parent a59793db09
commit 19c46b4a2a
2 changed files with 4 additions and 4 deletions

View file

@ -25,8 +25,8 @@ fi
# --- NixOS Build ---
echo "Building NixOS configuration..."
# Use --flake to specify the flake path.
nh os switch ".#$@"
# Use -H to specify the hostname and provide the flake directory path.
nh os switch "$REPO_ROOT" -H "$@"
# --- Git Push on Success ---
echo "NixOS rebuild successful. Pushing to remote..."