From 73a1490fedc593a072f18d9e6b20baa816a7a070 Mon Sep 17 00:00:00 2001 From: Haonan Chen Date: Sat, 3 Jan 2026 14:26:45 +0800 Subject: [PATCH] modules.system.gui: fix niri --- modules/system/gui.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/system/gui.nix b/modules/system/gui.nix index 3c93f7e6..120f7995 100644 --- a/modules/system/gui.nix +++ b/modules/system/gui.nix @@ -92,7 +92,13 @@ inputs: mode = { width = 3840; height = 2160; refresh = 160.; }; }; }; - input = { touchpad.dwt = true; keyboard.numlock = true; }; + input = + { + touchpad.dwt = true; + keyboard.numlock = true; + power-key-handling.enable = false; + focus-follows-mouse.enable = true; + }; layout = { default-column-width.proportion = 0.5;