disko icon indicating copy to clipboard operation
disko copied to clipboard

[Feature request] Changing disk without reevaluation

Open misuzu opened this issue 1 year ago • 3 comments

Basically this, but without hacks: https://gitlab.com/misuzu/nixos-unattended-install-iso/-/blob/f5031c0b633b0f3c22986ba2f9df047d42d4f2ea/disko.nix#L5 https://gitlab.com/misuzu/nixos-unattended-install-iso/-/blob/f5031c0b633b0f3c22986ba2f9df047d42d4f2ea/iso.nix#L37 Maybe add support for something like --disk main /dev/sda to system.build.diskoScript and friends?

misuzu avatar Aug 15 '24 16:08 misuzu

disko-install supports this. Is this enough for your usecase?

Mic92 avatar Aug 16 '24 14:08 Mic92

disko-install supports this. Is this enough for your usecase?

disko-install needs to evaluate a flake to change the disk at a build time. I want to change disk at a runtime without evaluating anything like in the linked example

misuzu avatar Aug 16 '24 15:08 misuzu

Got it. This would indeed make some things easier. I would like the same for writing out boot loader efi vars.

Mic92 avatar Aug 16 '24 15:08 Mic92