Commit graph

16 commits

Author SHA1 Message Date
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
ilian 5bc7087038 thinkpad/x1: import ssd config for relevant models 2021-12-19 12:06:09 +01: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
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 #60
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 #60) 2018-07-21 21:20:25 +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 d0a8097eec Add basic support for 6th-gen X1 2018-05-31 15:56:43 +02:00