1
0
Fork 0

Bin: fix NOS script (damn it shellcheck)

This commit is contained in:
Aires 2024-12-06 16:32:49 -05:00
parent adc8eb8661
commit 6111416364

View file

@ -98,11 +98,11 @@ options="--flake ${flakeDir}#${hostname} ${remainingArgs} --use-remote-sudo --lo
if [[ -n "${buildHost}" && "$operation" != "build" && "$operation" != *"dry"* ]]; then
echo "Remote build detected, running this operation first: nixos-rebuild build ${options} --build-host $buildHost"
/run/current-system/sw/bin/nixos-rebuild build "$options" --build-host "$buildHost"
/run/current-system/sw/bin/nixos-rebuild build $options --build-host $buildHost
echo "Remote build complete!"
fi
echo "Running this operation: nixos-rebuild ${operation} ${options}"
/run/current-system/sw/bin/nixos-rebuild "$operation" "$options"
/run/current-system/sw/bin/nixos-rebuild $operation $options
exit 0