1 # This module provides configuration for the OATH PAM modules.
7 enable = lib.mkOption {
11 Enable the OATH (one-time password) PAM module.
15 digits = lib.mkOption {
16 type = lib.types.enum [ 6 7 8 ];
19 Specify the lib.length of the one-time password in number of
24 window = lib.mkOption {
28 Specify the number of one-time passwords to check in order
29 to accommodate for situations where the system and the
30 client are slightly out of sync (iteration for HOTP or time
35 usersFile = lib.mkOption {
36 type = lib.types.path;
37 default = "/etc/users.oath";
39 Set the path to file where the user's credentials are
40 stored. This file must not be world readable!