disko
disko copied to clipboard
How to override disk mappings using `disko`?
When using disko-install, you clearly add --disk main /dev/nvme0n1 to override the main disk on your config.
However, when using just disko, how do you do that? Is it even possible?
https://github.com/nix-community/disko/blob/0d8c6ad4a43906d14abd5c60e0ffe7b587b213de/docs/reference.md?plain=1#L32-L33
EDIT: It looks like this changed from what I last remember. See here @Lassulus should the above reference doc also be updated?
Out of curiosity, why was the dynamic way with the disks variable changed to a static mapping inside the file itself? I've been looking for a dynamic way to do this but came to disko only a couple days ago. Is using --arg with a variable still valid and just more complex or is it a bad idea?