services.xidlehook.environment

Extra environment variables to be exported in the script. These options are passed unescaped as export name=value.

Type
attribute set of string
Default
{ }
Example
{
  "primary-display" = "$(xrandr | awk '/ primary/{print $1}')";
}
Declared
<home-manager/modules/services/xidlehook.nix>