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; };
|
obscuredPasswordFile = mkPasswordFileOption { service = displayName; };
|
||||||
|
|
||||||
webAuthnToken = lib.mkOption {
|
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}.";
|
description = "The 2 Factor Authentication code for logging in to ${displayName}.";
|
||||||
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
webAuthnTokenFile = mkFileOption {
|
webAuthnTokenFile = mkFileOption {
|
||||||
|
|
Loading…
Reference in a new issue