Kernel power savings on laptops
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m43s

This commit is contained in:
Jordan Holt 2024-08-25 19:02:33 +01:00
parent f91c0a33e2
commit cd616653f3
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 8 additions and 3 deletions

View File

@ -7,11 +7,12 @@
boot = {
initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
initrd.kernelModules = [ ];
initrd.supportedFilesystems = [ "zfs" ];
kernelModules = [ ];
kernel.sysctl = {
"kernel.nmi_watchdog" = 0;
"vm.laptop_mode" = 5;
};
kernelParams = [ "elevator=none" ];
extraModulePackages = [ ];
supportedFilesystems = [ "zfs" ];
};

View File

@ -7,6 +7,10 @@
boot = {
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
kernel.sysctl = {
"kernel.nmi_watchdog" = 0;
"vm.laptop_mode" = 5;
};
kernelModules = [ "applesmc" "kvm-intel" "wl" ];
extraModulePackages = [
config.boot.kernelPackages.broadcom_sta