lenovo/thinkpad/x260: Init

This commit is contained in:
Roman Volosatovs 2018-08-13 23:05:57 +02:00
parent 55e7faf0cd
commit 6c55033883
No known key found for this signature in database
GPG Key ID: 3AC661943D80C89E
1 changed files with 20 additions and 0 deletions

View 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
'';
}