dotfiles/nix/hardware/efiGrub.nix
2025-01-27 01:16:04 +04:00

17 lines
223 B
Nix

{ pkgs
, config
, lib
, inputs
, rootPath
, ...
}:
let
cfg = config.kp2pml30.boot;
in lib.mkIf cfg.efiGrub {
boot.loader.grub = {
enable = true;
devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
};
}