Enable extra power efficiency tweaks

This commit is contained in:
coolneng 2022-05-23 02:01:56 +02:00
parent c23248514d
commit 7496ab5cf2
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 6 additions and 2 deletions

View File

@ -8,8 +8,12 @@ in {
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = linuxPackages_zen; kernelPackages = linuxPackages_zen;
kernelParams = kernelParams = [
[ "zfs.zfs_arc_max=1073741824" "zfs.zfs_arc_meta_limit_percent=90" ]; "zfs.zfs_arc_max=1073741824"
"zfs.zfs_arc_meta_limit_percent=90"
"i915.i915_enable_fbc=1"
"workqueue.power_efficient=y"
];
kernelModules = [ "i915" "acpi_call" "kvm-intel" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
blacklistedKernelModules = [ "btusb" ]; blacklistedKernelModules = [ "btusb" ];