MyNixOS website logo
option

accounts.email.accounts.<name>.imapnotify.onNotifyPost

Shell commands to run after onNotify event.

Declarations
Type
string or attribute set of string
Default
""
Example
{
  mail = "\${pkgs.notmuch}/bin/notmuch new &amp;&amp; \${pkgs.libnotify}/bin/notify-send 'New mail arrived'";
}