summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-09 16:25:37 +0200
committermakefu <github@syntax-fehler.de>2017-09-09 16:25:37 +0200
commitca7a1304541aad960fc2664d740e7c07eb794695 (patch)
treeb3a6b644ebcc3a27688bcbdbfe44f1339386837f /krebs/2configs/default.nix
parent54feede990f042cc75a240dab50ad2016ed4c9ec (diff)
parent5067cc312e32b47862a8c02455bb2cd8f89a48a0 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/2configs/default.nix')
-rw-r--r--krebs/2configs/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/krebs/2configs/default.nix b/krebs/2configs/default.nix
index c3400e171..90aaa254a 100644
--- a/krebs/2configs/default.nix
+++ b/krebs/2configs/default.nix
@@ -4,6 +4,13 @@ with import <stockholm/lib>;
{
imports = [
./backup.nix
+ (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;
+ };
+ })
];
krebs.announce-activation.enable = true;
krebs.enable = true;