This commit is contained in:
death916 2025-07-01 01:28:13 -07:00
parent 5fa75aaac0
commit 44be55216a

View file

@ -18,7 +18,7 @@ git -C "$REPO_ROOT" pull
# --- NixOS Build --- # --- NixOS Build ---
echo "Building NixOS configuration..." echo "Building NixOS configuration..."
# Use --flake to specify the flake path. # Use --flake to specify the flake path.
nh os switch --flake "$REPO_ROOT#nixosConfigurations.$@" nh os switch ".#$@"
# --- Git Push on Success --- # --- Git Push on Success ---
echo "NixOS rebuild successful. Pushing to remote..." echo "NixOS rebuild successful. Pushing to remote..."