nixos.sh: fix arguments
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
8f44994e4d
commit
df8d74d7ea
1 changed files with 1 additions and 1 deletions
|
@ -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" -- --show-trace ${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
|
||||||
|
|
Loading…
Add table
Reference in a new issue