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