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

16 commits

Author SHA1 Message Date
vroad
ae3ac92431 Remove swappiness config 2022-03-31 10:44:20 +09: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
Jörg Thalheim
e8c5f886b0
Merge pull request #86 from yegortimoshenko/201810/ath3k
common/pc: disable ath3k if non-free firmware is not available
2020-10-20 06:37:54 +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
Jörg Thalheim
e1a10b1536
enable fstrim on SSDs
This will run TRIM once a week using a systemd timer. Running TRIM regularly
will improves the performance and increases the SSDs lifespan. Since it is based
on the utillinux no additional package is required.
2019-07-23 09:04:03 +01:00
Victor Nawothnig
1d9358a8cf Specify a correct unit description 2019-07-04 16:59:11 +02:00
Yegor Timoshenko
3d337906f5
common/pc: disable ath3k if non-free firmware is not available 2018-10-30 19:40:51 +00: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