Regenerated
This commit is contained in:
@@ -10,43 +10,12 @@
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
boot.kernelParams = [
|
||||
"quiet"
|
||||
"splash"
|
||||
"udev.log_level=3"
|
||||
"rd.systemd.show_status=false"
|
||||
# Sleep / power management
|
||||
"mem_sleep_default=deep"
|
||||
"acpi_osi=Linux"
|
||||
"acpi_backlight=native"
|
||||
# Intel GPU
|
||||
"i915.enable_psr=0"
|
||||
"i915.enable_psr2_sel_fetch=0"
|
||||
# NVMe
|
||||
"nvme.noacpi=1"
|
||||
];
|
||||
|
||||
boot.extraModprobeConfig = ''
|
||||
options snd_hda_intel power_save=0
|
||||
'';
|
||||
|
||||
boot.consoleLogLevel = 0;
|
||||
|
||||
# SUGGESTION: consider enabling initrd systemd — better plymouth integration
|
||||
# and faster boot. Test it — it works well on most modern NixOS setups.
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"rtsx_usb_sdmmc"
|
||||
];
|
||||
|
||||
boot.kernelModules = [
|
||||
"kvm-intel" # QEMU/KVM virtualisation
|
||||
];
|
||||
|
||||
boot.plymouth.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user