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

Add option to set UUID of partitions #948

Open
Rua opened this issue Jan 23, 2025 · 1 comment · May be fixed by #951
Open

Add option to set UUID of partitions #948

Rua opened this issue Jan 23, 2025 · 1 comment · May be fixed by #951

Comments

@Rua
Copy link

Rua commented Jan 23, 2025

At the moment, it seems that the UUID of a partition is randomly generated by sgdisk at the time it is created. This can potentially lead to reproduceability problems if things elsewhere on the system refer to that UUID. UUID is also intended to uniquely identify a partition, rather than the label/device name as disko currently does by default. It would be useful to be able to specify the partition UUID in the configuration, so that it can be reproduced, and referred to deterministically that way.

@Mic92
Copy link
Member

Mic92 commented Jan 23, 2025

Sounds like an acceptable feature to make this configurable. You would need to add this to lib/types/gpt.nix

@Rua Rua linked a pull request Jan 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants