mayushii: Add power saving configuration

When booted with my mouse connected to my kvm switch connected to my
dock connected to mayushii, powertop’s default configuration enables
power saving features that disable the mouse until it registers a click.

My current workaround is to unplug and plug the dock, so the hot-plug
input devices connected to it are reset.
neomutt
Simon Bruder 2021-10-05 22:53:49 +02:00
parent 15d6c54900
commit b5782f633c
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,11 @@
};
};
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
powerManagement = {
cpuFreqGovernor = "schedutil";
powertop.enable = true;
};
services.tlp.enable = true;
# Most of the time I want to use both screens at the same time and suspend it
# regularily by closing the lid