More power stuff
This commit is contained in:
parent
d1a386edf5
commit
443cf97123
|
@ -175,6 +175,21 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
# Other power saving goodies
|
||||
hardware.enableAllFirmware = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
};
|
||||
};
|
||||
powerManagement.enable = true;
|
||||
services.power-profiles-daemon.enable = false;
|
||||
|
||||
# Nvidia gpu setup
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
|
|
Loading…
Reference in a new issue