[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 = { powerManagement = {
enable = true; enable = true;
cpuFreqGovernor = "powersave"; cpuFreqGovernor = "ondemand";
powertop.enable = true; 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; settings.nvidiaUsed = true;
hardware = { hardware = {
@ -39,6 +46,7 @@
bluetooth.enable = true; bluetooth.enable = true;
nvidia.modesetting.enable = true; nvidia.modesetting.enable = true;
nvidia.powerManagement.enable = true;
nvidia.prime = { nvidia.prime = {
offload.enable = true; offload.enable = true;
nvidiaBusId = "PCI:1:0:0"; nvidiaBusId = "PCI:1:0:0";