From 7496ab5cf25372ec862c23f18e4df6d994f19b8c Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 23 May 2022 02:01:56 +0200 Subject: [PATCH] Enable extra power efficiency tweaks --- configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3e76e2b..c023db2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,8 +8,12 @@ in { # Kernel configuration boot = { kernelPackages = linuxPackages_zen; - kernelParams = - [ "zfs.zfs_arc_max=1073741824" "zfs.zfs_arc_meta_limit_percent=90" ]; + kernelParams = [ + "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" ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; blacklistedKernelModules = [ "btusb" ];