mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-31 15:15:02 +00:00
fix: renamed settings for logind
This commit is contained in:
1 parent
a35e758c2f
commit
78cc3559f6
1 file changed
+2
-2
@@ -10,8 +10,8 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
# Use power button to sleep instead of poweroff
|
||||
services.logind.powerKey = "suspend";
|
||||
services.logind.powerKeyLongPress = "poweroff";
|
||||
services.logind.settings.Login.HandlePowerKey = "suspend";
|
||||
services.logind.settings.Login.HandlePowerKeyLongPress = "poweroff";
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user