mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
fix: nixos/logind: migrate to settings option
This commit is contained in:
1 parent
da1e7253da
commit
8d7b622430
1 file changed
+1
-1
@@ -30,7 +30,7 @@
|
||||
# Hibernate: Store system state & RAM to Disk, and then poweroff the system.
|
||||
#
|
||||
# NOTE: Hibernate is not supported by Asahi Linux.
|
||||
services.logind = {
|
||||
services.logind.settings.Login = {
|
||||
lidSwitch = "suspend";
|
||||
lidSwitchExternalPower = "lock";
|
||||
# 'Docked' means: more than one display is connected or the system is inserted in a docking station
|
||||
|
||||
Reference in new issue
Block a user