File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 302
302
303
303
pubkey=$( ssh-keyscan -t ed25519 " ${ssh_connection//*@/ } " 2> /dev/null | sed -e ' s/^[^ ]* //' | base64 -w0)
304
304
305
- if [[ -n ${disko_script-} ]] && [[ ${build_on_remote-n} == " y" ]]; then
305
+ if [[ -z ${disko_script-} ]] && [[ ${build_on_remote-n} == " y" ]]; then
306
306
disko_script=$(
307
307
nix_build " ${flake} #nixosConfigurations.\" ${flakeAttr} \" .config.system.build.disko" \
308
308
--builders " ssh://$ssh_connection ?base64-ssh-public-host-key=$pubkey &ssh-key=$ssh_key_dir /nixos-anywhere $is_arch -linux"
@@ -318,7 +318,7 @@ if [[ ${stop_after_disko-n} == "y" ]]; then
318
318
exit 0
319
319
fi
320
320
321
- if [[ -n ${nixos_system-} ]] && [[ ${build_on_remote-n} == " y" ]]; then
321
+ if [[ -z ${nixos_system-} ]] && [[ ${build_on_remote-n} == " y" ]]; then
322
322
nixos_system=$(
323
323
nix_build " ${flake} #nixosConfigurations.\" ${flakeAttr} \" .config.system.build.toplevel" \
324
324
--builders " ssh://$ssh_connection ?remote-store=local?root=/mnt&base64-ssh-public-host-key=$pubkey &ssh-key=$ssh_key_dir /nixos-anywhere $is_arch -linux"
You can’t perform that action at this time.
0 commit comments