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).

Type
null or absolute path
Default
"/var/lib/usbguard/rules.conf"
Example
"/run/secrets/usbguard-rules"
Declared
<nixpkgs/nixos/modules/services/security/usbguard.nix>