Files
nixos/boot.nix

28 lines
483 B
Nix

{ ... }:
{
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
systemd.enable = true;
availableKernelModules = [
"nvme"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
};
kernelModules = ["kvm-amd"];
kernelParams = [
"amd_pstate=active"
"quiet"
"loglevel=3"
"udev.log-priority=3"
];
plymouth.enable = true;
};
}