disko icon indicating copy to clipboard operation
disko copied to clipboard

Quickstart guide command no longer behaves the same, `aborted: mode must be either format, mount or disko`

Open Nikola-Milovic opened this issue 1 year ago • 1 comments

This command from the quickstart guide seems to behave differently sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disk-config.nix

[nixos@nixos:~]$ sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ./disko.nix
disko version 1.9.0
aborted: mode must be either format, mount or disko

I used to be able to just copy it over and have it work, now it says that mode is invalid, so I have to first format then mount. Not sure if there were any changes since I tried this a month ago

Nikola-Milovic avatar Nov 13 '24 19:11 Nikola-Milovic

Ahhh we released the update to the docs without releasing the change itself, that was dumb. Please use --mode disko for now.

iFreilicht avatar Nov 13 '24 22:11 iFreilicht