fixup! fixup! fixup! Inaho: new host
This commit is contained in:
@@ -43,10 +43,10 @@
|
|||||||
# leaving this enabled is harmless; login can still use a password.
|
# leaving this enabled is harmless; login can still use a password.
|
||||||
fprintd.enable = true;
|
fprintd.enable = true;
|
||||||
|
|
||||||
logind = {
|
logind.settings.Login = {
|
||||||
lidSwitch = "suspend";
|
HandleLidSwitch = "suspend";
|
||||||
lidSwitchExternalPower = "suspend";
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
powerKey = "poweroff";
|
HandlePowerKey = "poweroff";
|
||||||
};
|
};
|
||||||
|
|
||||||
tlp.settings = {
|
tlp.settings = {
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ lib.mkIf config.host.laptop {
|
|||||||
services.tlp = {
|
services.tlp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
|
||||||
|
|
||||||
CPU_MIN_PERF_ON_AC = 0;
|
CPU_MIN_PERF_ON_AC = 0;
|
||||||
CPU_MAX_PERF_ON_AC = 100;
|
CPU_MAX_PERF_ON_AC = 100;
|
||||||
|
|||||||
Reference in New Issue
Block a user