1
1
Fork 0

nixos.sh: add --show-target to remote build command

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-07 21:51:22 -06:00
parent d0a2e0235c
commit 86396163c3
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

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