mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 17:15:36 +00:00
9 lines
183 B
Nix
9 lines
183 B
Nix
{ ... }: {
|
|
|
|
# Prevent wake from keyboard
|
|
powerManagement.powerDownCommands = ''
|
|
for wakeup in /sys/bus/usb/devices/1-*/power/wakeup; do echo disabled > $wakeup; done
|
|
'';
|
|
|
|
}
|