dotfiles/modules/hardware/sleep.nix
2022-05-11 20:30:16 -04:00

9 lines
151 B
Nix

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