mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
26 lines
432 B
Nix
26 lines
432 B
Nix
{ pkgs
|
|
, inputs
|
|
, lib
|
|
, ...
|
|
}:
|
|
{
|
|
options.kp2pml30.boot = {
|
|
efiGrub = lib.mkEnableOption "";
|
|
};
|
|
|
|
imports = [
|
|
./efiGrub.nix
|
|
];
|
|
|
|
config = {
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
boot = {
|
|
loader.efi.canTouchEfiVariables = true;
|
|
|
|
initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" "uas" "usbcore" ];
|
|
initrd.kernelModules = [ ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
};
|
|
}
|