Set lid switch for power.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{ pkgs, ...}: {
|
||||
services.logind.lidSwitch = "poweroff";
|
||||
services.logind.lidSwitchExternalPower = "lock";
|
||||
}
|
||||
Reference in New Issue
Block a user