mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 21:35:37 +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
|
|
'';
|
|
|
|
}
|