nixos/nginx: fix type of sslTrustedCertificate option

The option was added in 1251b34b5b
with type `types.path` but default `null`, so eval failed with
the default setting. This broke the acme and certmgr tests.

cc: @vincentbernat @fpletz
This commit is contained in:
Uli Baum 2018-09-02 01:35:59 +02:00
parent 028b64ab08
commit 15e6e1ff6f

View File

@ -130,7 +130,7 @@ with lib;
};
sslTrustedCertificate = mkOption {
type = types.path;
type = types.nullOr types.path;
default = null;
example = "/var/root.cert";
description = "Path to root SSL certificate for stapling and client certificates.";