MyNixOS website logo
option

services.xidlehook.timers.*.command

Command executed after the idle timeout is reached. Path to executables are accepted. The command is automatically escaped.

Declarations
Type
null or string
Example
${pkgs.libnotify}/bin/notify-send "Idle" "Sleeping in 1 minute"