mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:08:25 +02:00
fix: nixos/logind: migrate to settings option
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
# Hibernate: Store system state & RAM to Disk, and then poweroff the system.
|
# Hibernate: Store system state & RAM to Disk, and then poweroff the system.
|
||||||
#
|
#
|
||||||
# NOTE: Hibernate is not supported by Asahi Linux.
|
# NOTE: Hibernate is not supported by Asahi Linux.
|
||||||
services.logind = {
|
services.logind.settings.Login = {
|
||||||
lidSwitch = "suspend";
|
lidSwitch = "suspend";
|
||||||
lidSwitchExternalPower = "lock";
|
lidSwitchExternalPower = "lock";
|
||||||
# 'Docked' means: more than one display is connected or the system is inserted in a docking station
|
# 'Docked' means: more than one display is connected or the system is inserted in a docking station
|
||||||
|
|||||||
Reference in New Issue
Block a user