mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
lenovo/thinkpad/x260: Init
This commit is contained in:
parent
55e7faf0cd
commit
6c55033883
1 changed files with 20 additions and 0 deletions
20
lenovo/thinkpad/x260/default.nix
Normal file
20
lenovo/thinkpad/x260/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../acpi_call.nix
|
||||||
|
../../../common/cpu/intel
|
||||||
|
];
|
||||||
|
|
||||||
|
# See https://linrunner.de/en/tlp/docs/tlp-faq.html#battery https://wiki.archlinux.org/index.php/TLP#Btrfs
|
||||||
|
services.tlp.extraConfig = ''
|
||||||
|
START_CHARGE_THRESH_BAT0=75
|
||||||
|
STOP_CHARGE_THRESH_BAT0=80
|
||||||
|
START_CHARGE_THRESH_BAT1=75
|
||||||
|
STOP_CHARGE_THRESH_BAT1=80
|
||||||
|
|
||||||
|
SATA_LINKPWR_ON_BAT=max_performance
|
||||||
|
|
||||||
|
CPU_SCALING_GOVERNOR_ON_BAT=powersave
|
||||||
|
ENERGY_PERF_POLICY_ON_BAT=powersave
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue