services.stash-clipboard.filterFile

NixOS option

Stash can be configured to avoid storing clipboard entries that match a sensitive pattern, using a regular expression. The file set here should contain your regex pattern (no quotes). Example regex to block common password patterns: (password|secret|api[_-]?key|token)[=: ]+[^\s]+

type: string
Default
""
Example
"/etc/stash/clipboard_filter"
declared in: nixos/modules/services/misc/stash-clipboard.nixView source on NixOS/nixpkgs →