diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 6cd174fabc2b..d9ac409599f6 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -2250,6 +2250,30 @@ in ''; }; + prompt = lib.mkOption { + default = null; + type = with lib.types; nullOr str; + description = '' + Set individual prompt message for interactive mode. + By setting this option, you can set a message to be shown by the + {option}`security.pam.u2f.settings.interactive` option. + + Requires {option}`security.pam.u2f.settings.interactive` to be set to `true`. + ''; + }; + + cue_prompt = lib.mkOption { + default = null; + type = with lib.types; nullOr str; + description = '' + Set individual prompt message for cue mode. + By setting this option, you can set a message to be shown by the + {option}`security.pam.u2f.settings.cue` option. + + Requires {option}`security.pam.u2f.settings.cue` to be set to `true`. + ''; + }; + cue = lib.mkOption { default = false; type = lib.types.bool;