MyNixOS website logo
option

services.usbguard.ruleFile

This tells the USBGuard daemon which file to load as policy rule set.

The file can be changed manually or via the IPC interface assuming it has the right file permissions.

For more details see usbguard-rules.conf(5).

Declarations
Type
null or path
Default
"/var/lib/usbguard/rules.conf"
Example
"/run/secrets/usbguard-rules"