nixos/acme: fix options type
null is a possible default so the type must reflect that.
This commit is contained in:
parent
84653ac6c7
commit
2890af5e4b
1 changed files with 2 additions and 2 deletions
|
@ -487,7 +487,7 @@ let
|
|||
};
|
||||
|
||||
email = mkOption {
|
||||
type = types.str;
|
||||
type = types.nullOr types.str;
|
||||
inherit (defaultAndText "email" null) default defaultText;
|
||||
description = lib.mdDoc ''
|
||||
Email address for account creation and correspondence from the CA.
|
||||
|
@ -555,7 +555,7 @@ let
|
|||
};
|
||||
|
||||
credentialsFile = mkOption {
|
||||
type = types.path;
|
||||
type = types.nullOr types.path;
|
||||
inherit (defaultAndText "credentialsFile" null) default defaultText;
|
||||
description = lib.mdDoc ''
|
||||
Path to an EnvironmentFile for the cert's service containing any required and
|
||||
|
|
Loading…
Reference in a new issue