2010-01-20 15:22:47 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
|
|
|
environment.etc = singleton
|
|
|
|
{ source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
|
|
|
target = "ca-bundle.crt";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.shellInit =
|
|
|
|
''
|
|
|
|
export CURL_CA_BUNDLE=/etc/ca-bundle.crt
|
2011-07-12 14:45:48 +02:00
|
|
|
export GIT_SSL_CAINFO=/etc/ca-bundle.crt
|
2010-01-20 15:22:47 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|