Adjust options properly
This commit is contained in:
parent
cbcae30c12
commit
128a9d4166
1 changed files with 2 additions and 1 deletions
|
@ -271,8 +271,9 @@ let
|
|||
obscuredPasswordFile = mkPasswordFileOption { service = displayName; };
|
||||
|
||||
webAuthnToken = lib.mkOption {
|
||||
type = lib.types.strMatching "[0-9]{6}";
|
||||
type = lib.types.nullOr (lib.types.strMatching "[0-9]{6}");
|
||||
description = "The 2 Factor Authentication code for logging in to ${displayName}.";
|
||||
default = null;
|
||||
};
|
||||
|
||||
webAuthnTokenFile = mkFileOption {
|
||||
|
|
Loading…
Reference in a new issue