nixos/refind: allow use only on UEFI platforms

Changed files
+4
nixos
modules
system
boot
loader
refind
+4
nixos/modules/system/boot/loader/refind/refind.nix
···
|| pkgs.stdenv.hostPlatform.isAarch64;
message = "rEFInd can only be installed on aarch64 & x86 platforms";
}
+
{
+
assertion = pkgs.stdenv.hostPlatform.isEfi;
+
message = "rEFInd can only be installed on UEFI platforms";
+
}
];
# Common attribute for boot loaders so only one of them can be