nix-community / disko

Declarative disk partitioning and formatting using nix [maintainers=@Lassulus @Enzime @iFreilicht]
MIT License
1.87k stars 198 forks source link

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

Open Nikola-Milovic opened 1 week ago

Nikola-Milovic commented 1 week ago

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

iFreilicht commented 1 week ago

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