From ede6fac73494152e307355c8b045dd42c17aaf96 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Fri, 8 Nov 2024 15:29:25 -0800 Subject: Rework disko command --- scripts/install-with-disko | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'scripts/install-with-disko') diff --git a/scripts/install-with-disko b/scripts/install-with-disko index ef21f61..2640084 100755 --- a/scripts/install-with-disko +++ b/scripts/install-with-disko @@ -88,11 +88,10 @@ if [[ "${REPLY}" == "y" ]]; then sudo true if (( ! ${+opts[--skip-disko]} )); then - sudo nix run github:nix-community/disko \ - --extra-experimental-features "nix-command flakes" \ - --no-write-lock-file \ + sudo nix --experimental-features "nix-command flakes" \ + run github:nix-community/disko/latest \ -- \ - --mode zap_create_mount \ + --mode destroy,format,mount \ "${DIR}/../hosts/${TARGET_HOST}/disks.nix" fi -- cgit v1.2.3