summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-09 16:20:47 +0200
committerlassulus <lassulus@lassul.us>2017-09-09 16:20:52 +0200
commit5067cc312e32b47862a8c02455bb2cd8f89a48a0 (patch)
treeb5acc41e4b51c3ab974d5b42540024b483ca1353 /krebs
parent1d364f9a0bc60ef5bcbec60d452d85c2a7be33f3 (diff)
set certificates
Diffstat (limited to 'krebs')
-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;