diff options
author | lassulus <lassulus@lassul.us> | 2017-09-09 16:20:47 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-09-09 16:20:52 +0200 |
commit | 5067cc312e32b47862a8c02455bb2cd8f89a48a0 (patch) | |
tree | b5acc41e4b51c3ab974d5b42540024b483ca1353 | |
parent | 1d364f9a0bc60ef5bcbec60d452d85c2a7be33f3 (diff) |
set certificates
-rw-r--r-- | krebs/2configs/default.nix | 7 |
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; |