MyNixOS website logo
option

services.usbguard.presentDevicePolicy

How to treat USB devices that are already connected when the daemon starts. Policy should be one of allow, block, reject, keep (keep whatever state the device is currently in) or apply-policy (evaluate the rule set for every present device).

Declarations
Type
one of "allow", "block", "reject", "keep", "apply-policy"
Default
"apply-policy"