Commit graph

11 commits

Author SHA1 Message Date
Jörg Thalheim
e60c66bd0b replace tlp with power-profiles-daemon
TLP is often no longer the best choice since firmware provides power
profiles instead. That's why we are removing TLP as the default option.
We may want to bring back TLP to some old hardware if it makes sense
i.e. certain thinkpad modules.
2025-11-06 12:07:59 +01:00
Andre
51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04: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
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