mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01: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.
|
||||
#
|
||||
# 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