lol

Merge pull request #97505 from mayflower/grub-efi-mirroredboot

nixos/grub: allow multiple "nodev" devices for mirroredBoots

authored by

Linus Heckemann and committed by
GitHub
c14f14ee 29566ca0

+1 -1
+1 -1
nixos/modules/system/boot/loader/grub/grub.nix
··· 741 741 + "'boot.loader.grub.mirroredBoots' to make the system bootable."; 742 742 } 743 743 { 744 - assertion = cfg.efiSupport || all (c: c < 2) (mapAttrsToList (_: c: c) bootDeviceCounters); 744 + assertion = cfg.efiSupport || all (c: c < 2) (mapAttrsToList (n: c: if n == "nodev" then 0 else c) bootDeviceCounters); 745 745 message = "You cannot have duplicated devices in mirroredBoots"; 746 746 } 747 747 {