services.interception-tools.udevmonConfig
NixOS option
String of udevmon YAML configuration, or path to a udevmon YAML configuration file.
type: string or absolute pathDefault
''
- JOB: "intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE"
DEVICE:
EVENTS:
EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
''Example
declared in: nixos/modules/services/hardware/interception-tools.nixView source on NixOS/nixpkgs →''
- JOB: "intercept -g $DEVNODE | y2z | x2y | uinput -d $DEVNODE"
DEVICE:
EVENTS:
EV_KEY: [KEY_X, KEY_Y]
''