better powersaving

This commit is contained in:
Christoph Cullmann 2023-01-15 21:44:28 +01:00
parent 55ccddb352
commit e85e25cb7b

View file

@ -126,8 +126,10 @@ in
# ensure we see the journal on TTY12 # ensure we see the journal on TTY12
services.journald.console = "/dev/tty12"; services.journald.console = "/dev/tty12";
# enjoy a fast machine # keep power consumption and heat in check
powerManagement.cpuFreqGovernor = "performance"; powerManagement.enable = true;
powerManagement.cpuFreqGovernor = "powersave";
services.thermald.enable = true;
# allow firmware updates # allow firmware updates
services.fwupd.enable = true; services.fwupd.enable = true;
@ -148,6 +150,7 @@ in
# use GDM and Wayland # use GDM and Wayland
enable = true; enable = true;
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
displayManager.gdm.autoSuspend = false;
displayManager.defaultSession = "plasmawayland"; displayManager.defaultSession = "plasmawayland";
}; };