enable secure boot, remove gpu drivers from initrd

This commit is contained in:
k3t
2026-07-03 22:56:17 -06:00
parent 4953f5ac92
commit 4bda22ce47
2 changed files with 18 additions and 2 deletions
+17 -2
View File
@@ -6,9 +6,24 @@
"scsi_mod.use_blk_mq=1"
"transparent_hugepage=madvise" # CachyOS default
];
boot.loader.limine.enable = true;
boot.loader.limine = {
enable = true;
enrollConfig = true;
secureBoot = {
enable = true;
autoGenerateKeys = true;
autoEnrollKeys = {
enable = true;
extraArgs = [ "--microsoft" ];
};
};
style = {
wallpaperStyle = "centered";
wallpapers = [ pkgs.nixos-artwork.wallpapers.binary-black.gnomeFilePath ];
};
};
boot.loader.efi.canTouchEfiVariables = true;
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "i915" "amdgpu" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.kernelModules = [ "v4l2loopback" ];
}