mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
linux: Enable Intel idle driver
Also build the performance governor into the kernel so there is a sane default. Note that cpufreq.service will still load "ondemand" on non-pstate systems.
This commit is contained in:
parent
26da67ff73
commit
c502efc72a
@ -26,6 +26,8 @@ with stdenv.lib;
|
||||
${optionalString (versionAtLeast version "3.10") ''
|
||||
X86_INTEL_PSTATE y
|
||||
''}
|
||||
INTEL_IDLE y
|
||||
CPU_FREQ_DEFAULT_GOV_PERFORMANCE y
|
||||
${optionalString (versionOlder version "3.10") ''
|
||||
USB_SUSPEND y
|
||||
''}
|
||||
|
Loading…
Reference in New Issue
Block a user