mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
nhpush
This commit is contained in:
parent
5fa75aaac0
commit
44be55216a
1 changed files with 1 additions and 1 deletions
|
|
@ -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..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue