fixup! fixup! fixup! Inaho: new host

This commit is contained in:
2026-07-10 19:37:36 +03:00
parent 7b0b898a4d
commit 0dbc397a82
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -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 = {
+3 -3
View File
@@ -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;