diff --git a/hosts/doloro-laptop/laptop.nix b/hosts/doloro-laptop/laptop.nix index 92fcb7c..89117a4 100644 --- a/hosts/doloro-laptop/laptop.nix +++ b/hosts/doloro-laptop/laptop.nix @@ -2,13 +2,11 @@ { services.tlp = { enable = true; - extraConfig = '' - CPU_SCALING_GOVERNOR_ON_BAT=power_save - CPU_SCALING_GOVERNOR_ON_AC=performance - PCIE_ASPM_ON_AC=performance - PCIE_ASPM_ON_BAT=powersave - ''; settings = { + CPU_SCALING_GOVERNOR_ON_BAT = "power_save"; + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + PCIE_ASPM_ON_AC = "performance"; + PCIE_ASPM_ON_BAT = "powersave"; START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging };