diff options
Diffstat (limited to 'nixos/modules/security/pam_usb.nix')
-rw-r--r-- | nixos/modules/security/pam_usb.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security/pam_usb.nix b/nixos/modules/security/pam_usb.nix index 1c2a6a05f261..2bd3069ddb12 100644 --- a/nixos/modules/security/pam_usb.nix +++ b/nixos/modules/security/pam_usb.nix @@ -8,7 +8,7 @@ let cfg = config.security.pam.usb; - anyUsbAuth = any (attrByPath ["usbAuth"] false) config.security.pam.services; + anyUsbAuth = any (attrByPath ["usbAuth"] false) (attrValues config.security.pam.services); in @@ -19,8 +19,8 @@ in enable = mkOption { default = false; description = '' - Enable USB login for all login system unless the service disabled - it. For more information, visit <link + Enable USB login for all login systems that support it. For + more information, visit <link xlink:href="http://pamusb.org/doc/quickstart#setting_up" />. ''; }; |