mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
acme module: optionSet -> submodule
This commit is contained in:
parent
77f572f072
commit
3acf336f15
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue