diff --git a/install.sh b/install.sh index 5dc94b3..4e41f03 100755 --- a/install.sh +++ b/install.sh @@ -125,8 +125,7 @@ ensure_confirmation() { partition_disk() { if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then - sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest \ - -- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix" + sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest -- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix" else >&2 echo "Aborted installation due to invalid state in the partitioning step." exit 1