Enable tlp

This commit is contained in:
Natsu Kagami 2023-09-01 11:36:39 +02:00
parent a6e46307b0
commit 9af1499244
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -26,6 +26,13 @@
percentageCritical = 3;
percentageLow = 10;
};
services.tlp.enable = true;
services.tlp.settings = {
USB_AUTOSUSPEND = 0;
};
services.power-profiles-daemon.enable = false;
# powerManagement.enable = true;
# powerManagement.powertop.enable = true;
services.logind.lidSwitch = "suspend";
# Printing
@ -66,11 +73,6 @@
services.dbus.packages = with pkgs; [ gcr ];
# Power Management
powerManagement = {
enable = true;
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];