Commit graph

20 commits

Author SHA1 Message Date
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
Maximilian Bosch abca8d0180
thinkpad/x1/6th-gen: fix trackpoint name
Newer ThinkPads have a new name for the Trackpoint - "TPPS/2 Elan TrackPoint".

Having the "[...] IBM Trackpoint" as default caused some weird
side-effects on my machine (e.g. stopped the trackpoint working after a
suspend) with the wrong name. Although this is mentioned in the option's
description[1], I think that this should be declared explicitly here.

As soon, as we supported newer models as well[2], we should probably
move this into its own common profile.

[1] https://nixos.org/nixos/options.html#hardware.trackpoint.device
[2] https://certification.ubuntu.com/catalog/component/input/5313/input%3ATPPS/2ElanTrackPoint/
2019-09-01 18:00:21 +02:00
eyjhbb@gmail.com 3dac9eae9a lenovo-x1: removed battery TLP threshholds 2019-02-19 09:56:32 +01:00
Benjamin Hipple bd1ef85b98 lenovo x1 carbon gen6: update S3 suspend
With UEFI >= 1.30, there's an explicit option to enable S3 power management.
Once this is selected, S3 is enabled and "deep" is selected as the default
/sys/power/mem_sleep value without requiring any kernel boot parameters.
2018-12-27 18:40:08 -05: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
Alberto Berti 9939e5b3a4 Fix acpi override load
As proposed by @garbas in 
2018-09-01 15:34:06 +02:00
Alberto Berti 7f17d649cc Fix cpu-throttling service file reference 2018-09-01 15:33:27 +02:00
Michael Peyton Jones a633fa6f68
T480s: use CPU throttling fix too 2018-08-15 18:34:44 +01:00
Alberto Berti 4428c70b17 Enable powersave features when on battery (taken from ) 2018-07-21 21:20:25 +02:00
Alberto Berti b84f46f208 Add missing pkgs parameter 2018-07-17 18:55:21 +02:00
Alberto Berti a3210f1d6b Fix typo 2018-07-17 17:53:53 +02:00
Alberto Berti 7a640afbb2 Add optional console font configuration to make it readable on QHD displays 2018-07-17 17:44:31 +02:00
Alberto Berti 32a7893b8c Set a default to fix GTK/GNOME ui elements appareance 2018-06-03 01:55:59 +02:00
Alberto Berti b132065a43 Cosmetic 2018-06-03 01:33:37 +02:00
Alberto Berti b42212f6f0 Add a bit of documentation 2018-06-03 01:33:21 +02:00
Alberto Berti 179bcde845 Add stub for the S3 suspend state issue
See https://delta-xi.net/#056
2018-06-03 01:32:16 +02:00
Alberto Berti 654262071f Add the temporary fix for the cpu-throttling issue
See https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Power_management.2FThrottling_issues
2018-06-03 01:31:17 +02:00
Alberto Berti 5dd535392d Move battery settings to the configuration for all the 6th gen models 2018-06-03 01:28:40 +02:00
Alberto Berti e0a8e01073 Give TLP more control over the battery and enable battery life saver parameters 2018-05-31 18:04:02 +02:00
Alberto Berti d0a8097eec Add basic support for 6th-gen X1 2018-05-31 15:56:43 +02:00