diff --git a/modules/lid-switch-handling.nix b/modules/lid-switch-handling.nix index bd02d57..e356bcc 100644 --- a/modules/lid-switch-handling.nix +++ b/modules/lid-switch-handling.nix @@ -5,6 +5,6 @@ # https://unix.stackexchange.com/a/307498 # # services.logind.lidSwitch = "suspend"; - services.logind.lidSwitchExternalPower = "ignore"; + services.logind.lidSwitchExternalPower = "lock"; #services.logind.lidSwitchDocked = "ignore"; }