fixed stuff
This commit is contained in:
parent
f9413c476c
commit
2482644028
58 changed files with 296 additions and 339 deletions
|
|
@ -1,19 +1,15 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
# ThinkPad E560 : TLP pour l'autonomie. Pas d'asusd (spécifique ASUS).
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||
# Seuils de charge batterie (préserve la batterie).
|
||||
# Fonctionne sur la plupart des ThinkPad via tp_smapi/acpi.
|
||||
START_CHARGE_THRESH_BAT0 = 40;
|
||||
STOP_CHARGE_THRESH_BAT0 = 80;
|
||||
};
|
||||
};
|
||||
services.power-profiles-daemon.enable = false;
|
||||
# Économie d'énergie supplémentaire.
|
||||
powerManagement.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue