zephyrus: enable tlp service and hardware module

This commit is contained in:
Antoine Martin 2021-07-27 00:33:10 +02:00
parent fa6f54a03a
commit 0ff76742e2
4 changed files with 39 additions and 0 deletions

View file

@ -53,6 +53,15 @@ in
xkbVariant = "us";
libinput.enable = true;
};
tlp = {
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT0 = 70;
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
};
my.displayManager.sddm.enable = true;

View file

@ -41,4 +41,6 @@
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.enableRedistributableFirmware = true;
}