prevent keyboard from waking up machine

This commit is contained in:
Noah Masur committed 2022-05-11 20:30:16 -04:00
1 parent 5e6dd8c2b8
commit 73c837b710
2 files changed
+9

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
./monitors.nix
./mouse.nix
./networking.nix
./sleep.nix
./wifi.nix
];
+8
View File
@@ -0,0 +1,8 @@
{ ... }: {
# Prevent wake from keyboard
powerManagement.powerDownCommands = ''
echo disabled > /sys/bus/usb/devices/1-6/power/wakeup
'';
}