Enable tlp
This commit is contained in:
parent
a6e46307b0
commit
9af1499244
|
@ -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 = [ ... ];
|
||||
|
|
Loading…
Reference in a new issue