mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
17 lines
223 B
Nix
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;
|
|
};
|
|
}
|