do NOT wakeup from sleep with mouse

This commit is contained in:
Joeri Exelmans 2025-06-02 19:10:56 +02:00
parent 1bd6e533dc
commit 7f0070e14c

View file

@ -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. Its perfectly fine and recommended to leave