1
1
Fork 0

nixos.sh: fix arguments

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-08 17:12:45 -06:00
parent 8f44994e4d
commit df8d74d7ea
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -37,7 +37,7 @@ _build() {
# Build and send closures to remote machine
if [[ "${argc_target:-}" ]]; then
nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" -- --show-trace ${argc_extra:+"${argc_extra[@]}"}
nixos-rebuild --flake ".#${argc_target}" --target-host "root@${argc_target}" "$1" --show-trace ${argc_extra:+"${argc_extra[@]}"}
else
# Build current system
if [[ "${argc_builder:-}" == nh ]]; then