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.
This commit is contained in:
Simon Bruder 2021-10-05 22:53:49 +02:00
parent 15d6c54900
commit b5782f633c
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

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 # Most of the time I want to use both screens at the same time and suspend it
# regularily by closing the lid # regularily by closing the lid