diff --git a/nixos/modules/services/web-servers/nginx/vhost-options.nix b/nixos/modules/services/web-servers/nginx/vhost-options.nix index 6954d932eed4..8e2b8819e71b 100644 --- a/nixos/modules/services/web-servers/nginx/vhost-options.nix +++ b/nixos/modules/services/web-servers/nginx/vhost-options.nix @@ -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.";