1
Fork 0

how did I even do tis

This commit is contained in:
caem 2025-01-16 19:31:59 +01:00
parent c7006c6be0
commit 6d34c326e5
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -125,7 +125,8 @@ ensure_confirmation() {
partition_disk() { partition_disk() {
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then 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 else
>&2 echo "Aborted installation due to invalid state in the partitioning step." >&2 echo "Aborted installation due to invalid state in the partitioning step."
exit 1 exit 1