dotfiles/modules/hardware/sleep.nix

9 lines
151 B
Nix
Raw Normal View History

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