summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-10-28 15:14:41 +0200
committerlassulus <lass@aidsballs.de>2016-10-28 15:14:41 +0200
commitd70b843d04570ff9bb827efe57c10128423f9a10 (patch)
tree322b2b55415f3ea206802cf9080590c812c1e744 /makefu/2configs/default.nix
parent2ebd0a1fdd2c8e82f3a960ba7fb09bb66ace89ca (diff)
parentc26a3ce4b465db07f3d94e263588b96d167e53fa (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/default.nix')
-rw-r--r--makefu/2configs/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix
index cb6fe55b8..bbe108074 100644
--- a/makefu/2configs/default.nix
+++ b/makefu/2configs/default.nix
@@ -90,9 +90,14 @@ with import <stockholm/lib>;
"d /tmp 1777 root root - -"
];
nix.nixPath = [ "/var/src" ];
- environment.variables = {
+ environment.variables = let
+ ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
+ in {
NIX_PATH = mkForce "/var/src";
EDITOR = mkForce "vim";
+ CURL_CA_BUNDLE = ca-bundle;
+ GIT_SSL_CAINFO = ca-bundle;
+ SSL_CERT_FILE = ca-bundle;
};
environment.systemPackages = with pkgs; [