MyNixOS website logo
option

services.openvpn.servers.<name>.authUserPass

This option can be used to store the username / password credentials with the "auth-user-pass" authentication method.

You can either provide an attribute set of username and password, or the path to a file containing the credentials on two lines.

WARNING: If you use an attribute set, this option will put the credentials WORLD-READABLE into the Nix store!

Declarations
Type
null or (optionally newline-terminated) single-line string or (submodule)
Default
null