mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 04:02:55 +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
|
|
'';
|
|
|
|
}
|