tv: globally set CURL_CA_BUNDLE, GIT_SSL_CAINFO, SSL_CERT_FILE

This commit is contained in:
tv 2016-10-23 18:10:00 +02:00
parent 7cc65e1794
commit 2c74f5a654

View File

@ -112,6 +112,14 @@ with import <stockholm/lib>;
};
}
(let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in {
environment.variables = {
CURL_CA_BUNDLE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
};
})
{
services.cron.enable = false;
services.nscd.enable = false;