acme module: optionSet -> submodule
This commit is contained in:
parent
77f572f072
commit
3acf336f15
@ -129,11 +129,10 @@ in
|
|||||||
|
|
||||||
certs = mkOption {
|
certs = mkOption {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.loaOf types.optionSet;
|
type = with types; loaOf (submodule certOpts);
|
||||||
description = ''
|
description = ''
|
||||||
Attribute set of certificates to get signed and renewed.
|
Attribute set of certificates to get signed and renewed.
|
||||||
'';
|
'';
|
||||||
options = [ certOpts ];
|
|
||||||
example = {
|
example = {
|
||||||
"example.com" = {
|
"example.com" = {
|
||||||
webroot = "/var/www/challenges/";
|
webroot = "/var/www/challenges/";
|
||||||
|
Loading…
Reference in New Issue
Block a user