From 7f0070e14cccd851f2096390a0f51f845301be14 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Mon, 2 Jun 2025 19:10:56 +0200 Subject: [PATCH] do NOT wakeup from sleep with mouse --- t14/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t14/configuration.nix b/t14/configuration.nix index 7c470b9..07c995c 100644 --- a/t14/configuration.nix +++ b/t14/configuration.nix @@ -200,6 +200,10 @@ GTK_OVERLAY_SCROLLING = 0; }; + services.udev.extraRules = '' + ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTR{power/wakeup}="disabled" + ''; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave