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
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
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