MyNixOS website logo
option

security.pam.enableSudoTouchIdAuth

Enable sudo authentication with Touch ID.

When enabled, this option adds the following line to /etc/pam.d/sudo:

auth       sufficient     pam_tid.so
macOS resets this file when doing a system update. As such, sudo authentication with Touch ID won't work after a system update until the nix-darwin configuration is reapplied.
Declarations
    Type
    boolean
    Default
    false
    Example
    true