mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/pam/u2f: add settings.{,cue_}prompt option (#536265)
This commit is contained in:
commit
b98acdb1a9
1 changed files with 24 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue