mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Laptop] Add power optimization options for Intel Graphics
This commit is contained in:
parent
e07850a838
commit
40509f9928
1 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,11 @@ in {
|
|||
|
||||
hardware.sensor.iio.enable = mkDefault true;
|
||||
|
||||
boot.kernelParams = [
|
||||
"i915.enable_fbc=1"
|
||||
"i915.enable_gvt=1"
|
||||
];
|
||||
|
||||
services.tlp.enable = (cfg.power-manager == "tlp");
|
||||
services.power-profiles-daemon.enable = (cfg.power-manager == "power-profiles-daemon");
|
||||
services.tp-auto-kbbl.enable = mkDefault true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue