nixpkgs/nixos/modules/system/boot/loader
jokogr b12debc076 grub: Do not check for duplicated devices in mirroredBoots on UEFI (#18625)
When Grub is to be used with UEFI, it is not going to write to any MBR
of any disk. As such, it is safe to use multiple "nodev" device entries
when mirroring the ESP partition to multiple disks.

E.g.:

```
boot.loader.grub = {
  enable = true;
  version = 2;
  zfsSupport = true;
  efiSupport = true;
  mirroredBoots = [
    { devices = [ "nodev" ]; path = "/boot1"; efiSysMountPoint = "/boot1"; }
    { devices = [ "nodev" ]; path = "/boot2"; efiSysMountPoint = "/boot2"; }
    { devices = [ "nodev" ]; path = "/boot3"; efiSysMountPoint = "/boot3"; }
  ];
};

boot.loader.efi.canTouchEfiVariables = true;
```

Fixes #18584
2016-09-25 07:37:18 +02:00
..
generations-dir nixos: add a few missing type specifiers under boot.* 2015-02-28 09:19:23 +01:00
generic-extlinux-compatible extlinux-conf-builder: Choose whether to use DTBs on per-generation basis 2016-07-10 03:03:51 +03:00
grub grub: Do not check for duplicated devices in mirroredBoots on UEFI (#18625) 2016-09-25 07:37:18 +02:00
init-script init-script-builder: handle containers without a kernel 2016-02-10 23:27:28 +00:00
raspberrypi Raspberry Pi 2 changes to make it boot. 2015-05-09 17:05:24 +00:00
systemd-boot Deprecate --install-grub in favor of --install-bootloader for nixos-rebuild. 2016-08-16 07:51:58 -04:00
efi.nix Use systemd-boot instead of gummiboot 2016-05-31 17:02:47 +02:00
loader.nix nixos: loader: added generic config.boot.loader.timeout option 2015-01-30 09:53:44 +01:00