MyNixOS website logo

Run command on occurrence of a event.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
  { event = "lock"; command = "lock"; }
]