diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-01-05 23:30:26 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-01-05 23:30:26 +0100 |
| commit | 590bd06ced36ac18b9a0b7cb0816b854b215904e (patch) | |
| tree | 521a8720071607d6ccf057b7f5f3de57caef051d /modules/environment | |
| parent | fc2bc4e05b8eacbdf2fcc38ef8092eaedb666393 (diff) | |
environment: set cacert variables by default
Diffstat (limited to 'modules/environment')
| -rw-r--r-- | modules/environment/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index d5cd419..5fa222e 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -135,7 +135,9 @@ in { ''; environment.variables = - { EDITOR = mkDefault "nano"; + { GIT_SSL_CAINFO = mkDefault "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + SSL_CERT_FILE = mkDefault "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + EDITOR = mkDefault "nano"; PAGER = mkDefault "less -R"; }; |
