summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-09-16 18:38:03 +0200
committertv <tv@krebsco.de>2017-09-16 18:38:03 +0200
commit23fcf1c4e92aee18625380eb4cbcab4023098a58 (patch)
tree2deff673c3c6b03ad65ae15eba2f5a8199f03476 /krebs/2configs/default.nix
parentb28dabfc0720578b46fd7664b233a12666fbca0c (diff)
parentde16ae2a12145901c3d9e2efef062b161b9448e3 (diff)
Merge remote-tracking branch 'prism/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;