30 lines
778 B
Nix
30 lines
778 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
boot.kernelParams = [
|
|
"split_lock_detect=off"
|
|
"scsi_mod.use_blk_mq=1"
|
|
"transparent_hugepage=madvise" # CachyOS default
|
|
];
|
|
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" ];
|
|
boot.kernelModules = [ "v4l2loopback" ];
|
|
}
|