4 # Preloading the kernel modules to avoid:
5 # tlp: Error in configuration at CPU_SCALING_GOVERNOR_ON_BAT="powersave": governor not available. Skipped.
6 boot.initrd.kernelModules = [
11 # Gnome 40 introduced a new way of managing power, without tlp.
12 enable = mkDefault (!config.services.power-profiles-daemon.enable);
14 CPU_SCALING_GOVERNOR_ON_AC = "ondemand";
15 CPU_SCALING_GOVERNOR_ON_BAT = "powersave";