summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-23 18:10:00 +0200
committertv <tv@krebsco.de>2016-10-23 18:10:00 +0200
commit2c74f5a654fa357a4eec8eef9c40ebdbd4456f70 (patch)
tree8b94244576c436bfbdf0c9027df0f03c85d9c7da /tv/2configs
parent7cc65e17941978cca54ae62772cb1fd13c1b2996 (diff)
tv: globally set CURL_CA_BUNDLE, GIT_SSL_CAINFO, SSL_CERT_FILE
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 475c17f2f..4b89252f9 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -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;