summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/configuration.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix
index 51a175b..764d42b 100644
--- a/hosts/laptop/configuration.nix
+++ b/hosts/laptop/configuration.nix
@@ -45,9 +45,9 @@
hibernate = "systemctl hibernate";
};
- services.logind = {
- powerKey = "ignore";
- powerKeyLongPress = "ignore";
+ services.logind.settings.Login = {
+ HandlePowerKey = "ignore";
+ HandlePowerKeyLongPress = "ignore";
};
services.keyd = {