mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 01:05:38 +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
|
|
'';
|
|
|
|
}
|