services.udev.extraRules

NixOS option

Additional udev rules. They’ll be written into file 99-local.rules. Thus they are read and applied after all other rules.

type: strings concatenated with "\n"
Default
""
Example
''
  ENV{ID_VENDOR_ID}=="046d", ENV{ID_MODEL_ID}=="0825", ENV{PULSE_IGNORE}="1"
''
declared in: nixos/modules/services/hardware/udev.nixView source on NixOS/nixpkgs →