Set lid switch for power.

This commit is contained in:
jay
2025-07-21 16:05:59 -04:00
parent b154fad1a0
commit 4310c9d517
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{ pkgs, ...}: {
services.logind.lidSwitch = "poweroff";
services.logind.lidSwitchExternalPower = "lock";
}