prevent keyboard from waking up machine

This commit is contained in:
Noah Masur 2022-05-11 20:30:16 -04:00
parent 5e6dd8c2b8
commit 73c837b710
2 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,7 @@
./monitors.nix ./monitors.nix
./mouse.nix ./mouse.nix
./networking.nix ./networking.nix
./sleep.nix
./wifi.nix ./wifi.nix
]; ];

View File

@ -0,0 +1,8 @@
{ ... }: {
# Prevent wake from keyboard
powerManagement.powerDownCommands = ''
echo disabled > /sys/bus/usb/devices/1-6/power/wakeup
'';
}