system/laptop: split logind and auto-cpufreq config

This commit is contained in:
wo2wz 2025-12-20 23:20:26 +00:00
parent 4deded9963
commit b6b98a126e
4 changed files with 20 additions and 9 deletions

View file

@ -0,0 +1,9 @@
{ config, ... }:
{
services.logind.settings.Login = {
HandleLidSwitch = "suspend";
HandleLidSwitchExternalPower = "lock";
HandleLidSwitchDocked = "ignore";
};
}