[hardware/thinkpad-p1-gen3] Work on powermanagement

This commit is contained in:
Malte Tammena 2022-04-17 15:32:53 +02:00
parent 78252f997d
commit aaff4ff461

View file

@ -17,7 +17,7 @@
powerManagement = {
enable = true;
cpuFreqGovernor = "powersave";
cpuFreqGovernor = "ondemand";
powertop.enable = true;
};
@ -29,6 +29,13 @@
};
};
services.tp-auto-kbbl = {
enable = true;
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
};
services.upower.enable = true;
settings.nvidiaUsed = true;
hardware = {
@ -39,6 +46,7 @@
bluetooth.enable = true;
nvidia.modesetting.enable = true;
nvidia.powerManagement.enable = true;
nvidia.prime = {
offload.enable = true;
nvidiaBusId = "PCI:1:0:0";