summaryrefslogtreecommitdiffstats
path: root/lass/2configs/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-27 14:54:32 +0200
committermakefu <github@syntax-fehler.de>2016-10-27 14:54:32 +0200
commit32fff8c80eb49a0b8a121e487915f808ddbd7ea8 (patch)
tree71cd6d5e37059136899446843393c30c03a36272 /lass/2configs/default.nix
parent36cbb3d300eb18330a62ba20e35f80d515f5bc5f (diff)
parentc091949a151e0a613ad31fd390b1c19bfddfde3a (diff)
Merge remote-tracking branch 'prism/lassulus'
Diffstat (limited to 'lass/2configs/default.nix')
-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;