2014-04-14 18:26:48 +04:00
|
|
|
{ config, lib, pkgs, ... }:
|
2010-01-20 17:22:47 +03:00
|
|
|
|
2014-04-14 18:26:48 +04:00
|
|
|
with lib;
|
2010-01-20 17:22:47 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
2011-07-29 23:06:27 +04:00
|
|
|
environment.etc =
|
2013-08-18 19:46:07 +04:00
|
|
|
[ { source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
|
|
|
target = "ssl/certs/ca-bundle.crt";
|
2011-07-29 23:06:27 +04:00
|
|
|
}
|
|
|
|
];
|
2010-01-20 17:22:47 +03:00
|
|
|
|
2014-06-10 15:03:44 +04:00
|
|
|
environment.variables.OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
|
|
|
|
environment.variables.CURL_CA_BUNDLE = "/etc/ssl/certs/ca-bundle.crt";
|
|
|
|
environment.variables.GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt";
|
2011-09-14 22:20:50 +04:00
|
|
|
|
2010-01-20 17:22:47 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|