nixos/gitlab: Fix missing ca_file for SMTP

Work around upstream issue #790 by explicitly referencing the
ca-certificates.crt file.
This commit is contained in:
talyz 2019-07-31 17:14:52 +02:00
parent be9e7745f2
commit 7648b4f8ba

View File

@ -184,6 +184,7 @@ let
domain: "${cfg.smtp.domain}",
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
ca_file: "/etc/ssl/certs/ca-certificates.crt",
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
}
end