security.duosec.acceptEnvFactor

NixOS option

Look for factor selection or passcode in the $DUO_PASSCODE environment variable before prompting the user for input. When $DUO_PASSCODE is non-empty, it will override autopush. The SSH client will need SendEnv DUO_PASSCODE in its configuration, and the SSH server will similarly need AcceptEnv DUO_PASSCODE.

type: boolean
Default
false
declared in: nixos/modules/security/duosec.nixView source on NixOS/nixpkgs →