acme module: optionSet -> submodule

This commit is contained in:
Eric Sagnes 2016-09-11 16:38:23 +09:00
parent 77f572f072
commit 3acf336f15

View file

@ -129,11 +129,10 @@ in
certs = mkOption {
default = { };
type = types.loaOf types.optionSet;
type = with types; loaOf (submodule certOpts);
description = ''
Attribute set of certificates to get signed and renewed.
'';
options = [ certOpts ];
example = {
"example.com" = {
webroot = "/var/www/challenges/";