From 9902f3cac2273f757d97bb40d78f0c50bb343ec5 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Tue, 19 Nov 2024 15:59:30 -0500 Subject: [PATCH] fix(nix): ignore power key presses Signed-off-by: Lucas Sta Maria --- nix/hosts/framework/sys.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/hosts/framework/sys.nix b/nix/hosts/framework/sys.nix index 3cf4119..47ee65a 100644 --- a/nix/hosts/framework/sys.nix +++ b/nix/hosts/framework/sys.nix @@ -67,6 +67,10 @@ powertop.enable = true; }; + services.logind = { + powerKey = "ignore"; + }; + # Autologin services.displayManager.autoLogin.user = "priime";