summaryrefslogtreecommitdiffstats
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
commitc411d8668fb329503dc5cd6cb76b9d690329bd23 (patch)
tree2a194ca8473066d6ee66797067fa12975587594d
parentd2333d44b847cfb9ab3ae64d73bacb329ba5760e (diff)
tv: globally set CURL_CA_BUNDLE, GIT_SSL_CAINFO, SSL_CERT_FILE
-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 475c17f..4b89252 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;