services.autosuspend.settings.wakeup_cmd
The command to execute for scheduling a wake up of the system. The given string is
processed using Python’s str.format() and a format argument called timestamp
encodes the UTC timestamp of the planned wake up time (float). Additionally iso
can be used to acquire the timestamp in ISO 8601 format.
- Type
string- Default
"sh -c 'echo 0 > /sys/class/rtc/rtc0/wakealarm && echo {timestamp:.0f} > /sys/class/rtc/rtc0/wakealarm' "- Declared
- <nixpkgs/nixos/modules/services/misc/autosuspend.nix>