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