services.usbguard.presentDevicePolicy
NixOS option
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).
type: one of "allow", "block", "reject", "keep", "apply-policy"Default
declared in: nixos/modules/services/security/usbguard.nixView source on NixOS/nixpkgs →"apply-policy"