Disable laptop sleep when lid closed and connected to power
This commit is contained in:
parent
6f1ac14852
commit
276c08529a
|
@ -54,7 +54,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Don't suspend when closed and plugged into power
|
# Don't suspend when closed and plugged into power
|
||||||
services.logind.lidSwitchExternalPower = "ignore";
|
services.logind.lidSwitchExternalPower = "lock";
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
|
Loading…
Reference in New Issue