Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Changing disk without reevaluation #732

Open
misuzu opened this issue Aug 15, 2024 · 3 comments
Open

[Feature request] Changing disk without reevaluation #732

misuzu opened this issue Aug 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@misuzu
Copy link

misuzu commented Aug 15, 2024

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?

@Mic92
Copy link
Member

Mic92 commented Aug 16, 2024

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

@misuzu
Copy link
Author

misuzu commented Aug 16, 2024

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

@Mic92
Copy link
Member

Mic92 commented Aug 16, 2024

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

@iFreilicht iFreilicht added the enhancement New feature or request label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants