MyNixOS website logo
option

services.wl-clip-persist.extraOptions

Extra command-line arguments to pass to wl-clip-persist.

Available options include:

  • --write-timeout <ms>: Timeout for writing clipboard data (default: 3000).
  • --ignore-event-on-error: Only handle events without errors.
  • --all-mime-type-regex <regex>: Filter events by MIME type regex.
  • --selection-size-limit <bytes>: Limit clipboard data size.
  • --reconnect-tries <n>: Number of reconnection attempts.
  • --reconnect-delay <ms>: Delay between reconnect attempts (default: 100).
  • --disable-timestamps: Disable log timestamps.
Declarations
Type
list of string
Default
[ ]
Example
[
  "--write-timeout"
  "1000"
  "--ignore-event-on-error"
  "--all-mime-type-regex"
  "'(?i)^(?!image/).+'"
  "--selection-size-limit"
  "1048576"
]