From 212b41dba3d29c25b4f55c2942e0d60251c2024c Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Tue, 30 Apr 2024 23:55:26 +0200 Subject: [PATCH] dustbowl: disable power key --- nixos/dustbowl.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index 8f7b7fb..2ae8d87 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -392,6 +392,8 @@ enable = true; }; + services.logind.powerKey = "ignore"; + # Sway systemd integration # https://wiki.archlinux.org/title/Sway#Manage_Sway-specific_daemons_with_systemd systemd.user.targets.sway-session = {