MyNixOS website logo
option

security.pam.services.sudo_local.touchIdAuth

Whether to enable Touch ID with sudo.

This will also allow your Apple Watch to be used for sudo. If this doesn't work, you can go into System Settings > Touch ID & Password and toggle the switch for your Apple Watch.

Declarations
    Type
    boolean
    Default
    false
    Example
    true
    Sign in to create a configuration using this setting.