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
Peter Bittner
7d9552ef6b
Replace symlink references by real path and delete symlink
...
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00
Jörg Thalheim
c6c90887f8
drop acpi_call from nixos-hardware
...
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00
Jörg Thalheim
56e370b342
deprecate commons/hdd module
...
We havent't had anything meaningful configuration in this module for a while.
So let's deprecate it.
2024-06-20 12:09:44 +02:00
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