nixos/refind: allow use only on UEFI platforms

This commit is contained in:
John Titor
2025-09-06 12:29:15 +05:30
committed by Masum Reza
parent 0cc1634b9f
commit 5d9e8f43d7
@@ -94,6 +94,10 @@ in
|| 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