services.usbguard.ruleFile

NixOS option

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 in: nixos/modules/services/security/usbguard.nixView source on NixOS/nixpkgs →