Open Ma27 opened 8 months ago
Looks very similar to what I had to do: https://github.com/Mic92/dotfiles/blob/b2ff14454465c10d00c4239eea0785583ddf9a35/nixos/eve/modules/disko.nix#L39
I didn't had to use mkForce though.
Btw. You can also enable UEFI on most hetzner machines by ordering the KVM console once.
I would consider this a bug, though I'm not sure if it's disko's fault or nixpkgs'. In any case, it's not the behavior you would expect when creating multiple boot partitions.
Given a Hetzner AX41 NVMe (two SSDs, MBR / legacy boot required) with a mirrored zpool (not part of the example):
This gives me a single entry in
boot.loader.grub.mirroredBoots
withdevices
containing both/dev/nvme0n1
and/dev/nvme1n1
.What I need though is
My workaround was to use
mkForce
onmirroredBoots
. However I'm wondering if there's a better way to achieve that. Or am I holding it wrong?