Skip to content

Commit

Permalink
Merge pull request #297346 from codingCoffee/usbguard-fix
Browse files Browse the repository at this point in the history
usbguard: fix policy enums
  • Loading branch information
SuperSandro2000 committed Mar 27, 2024
2 parents 4334eeb + 99c0c32 commit d6411ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/security/usbguard.nix
Expand Up @@ -80,7 +80,7 @@ in
};

implicitPolicyTarget = mkOption {
type = policy;
type = types.enum [ "allow" "block" "reject" ];
default = "block";
description = lib.mdDoc ''
How to treat USB devices that don't match any rule in the policy.
Expand Down Expand Up @@ -110,7 +110,7 @@ in
};

insertedDevicePolicy = mkOption {
type = policy;
type = types.enum [ "block" "reject" "apply-policy" ];
default = "apply-policy";
description = lib.mdDoc ''
How to treat USB devices that are already connected after the daemon
Expand Down

0 comments on commit d6411ed

Please sign in to comment.