disko
disko copied to clipboard
Quickstart guide command no longer behaves the same, `aborted: mode must be either format, mount or disko`
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
Ahhh we released the update to the docs without releasing the change itself, that was dumb. Please use --mode disko for now.