summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-10-27 12:50:03 +0200
committerlassulus <lass@aidsballs.de>2016-10-27 12:50:03 +0200
commit7e809cfc8b6112068b872b85c400794b5b102cc5 (patch)
tree94833fc08792b118301b89025b4aff767dd234e9 /lass/2configs
parentd1de9cb59f18144e34dd9744ba9535aa787dfecd (diff)
l 2: globally set CA/SSL stuff
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index 43c4d5b0d..a7d2a6cef 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -46,6 +46,13 @@ with import <stockholm/lib>;
NIX_PATH = mkForce "secrets=/var/src/stockholm/null:/var/src";
};
}
+ (let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in {
+ environment.variables = {
+ CURL_CA_BUNDLE = ca-bundle;
+ GIT_SSL_CAINFO = ca-bundle;
+ SSL_CERT_FILE = ca-bundle;
+ };
+ })
];
networking.hostName = config.krebs.build.host.name;