services.xscreensaver.hooks
An attrset of events and commands to run upon each event. Refer to https://www.jwz.org/xscreensaver/man3.html for supported events.
- Type
attribute set of strings concatenated with "\n"- Default
{ }- Example
# Reconfigure autorandr on screen wake up { "RUN" = "${lib.getExe pkgs.autorandr} --change --ignore-lid"; };- Declared
- <nixpkgs/nixos/modules/services/x11/xscreensaver.nix>