1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-18 08:59:41 +01:00
Commit graph

13 commits

Author SHA1 Message Date
Konrad Borowski
d28d2a2494 Load acpi_call module only if tlp is being used
power-profiles-daemon cannot use acpi_call. This avoids taining
the kernel by installing an unnecessary kernel module.
2023-04-03 09:18:09 +02:00
Jörg Thalheim
3fc630f84c
pc/laptop: fix evaluation on 20.09 (#270) 2021-05-30 21:10:22 +01:00
Jörg Thalheim
ca33f586e7
fix evaluation 2021-05-29 10:19:00 +02:00
Bryan Honof
1fe5b7686d
Update common/pc/laptop/default.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-05-27 00:15:49 +02:00
Bryan Honof
2bc26b3c5c
Add lib.mkDefault to the statement 2021-05-26 19:00:01 +02:00
Bryan Honof
e4ce746d5b
Add check for power-profiles-daemon.enable
Gnome 40 now uses power-profile-daemon
https://gitlab.freedesktop.org/hadess/power-profiles-daemon ,
which clashes with tlp. This check will disable tlp whenever it finds
that the power-profiles-daemon is activated.
2021-05-26 18:54:50 +02:00
Erik Arvstedt
90868c67e8 pc/laptop: remove redundant cpuFreqGovernor setting
This setting has been part of NixOS since version 16.09
2020-05-20 16:29:50 +02:00
Michael Peyton Jones
2bf94227c1
Replace ad hoc throttling fix with throttled
`throttled` is a service designed to fix the same CPU throttling bug,
but it's an actively maintainted upstream project that we can use.
2019-10-16 22:31:05 +01:00
Victor Nawothnig
1d9358a8cf Specify a correct unit description 2019-07-04 16:59:11 +02:00
André-Patrick Bubel
941fbef86f
move acpi_call.nix and cpu-throttling-bug.nix to common folder 2018-10-23 09:28:07 +01:00
Yegor Timoshenko
5a00ea423a
common/pc/laptop: drop explicit vm.laptop_mode
This is handled by TLP, so we don't need to set that explicitly.
2017-12-27 07:46:06 +00:00
Yegor Timoshenko
f9a1ac6297
common/pc/laptop: disable cpuFreqGovernor 2017-12-25 04:46:15 +00:00
Yegor Timoshenko
5407ba7a52
treewide: abstract away common configs into common/ 2017-12-24 23:21:05 +00:00