mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-05 08:17:01 +00:00
environment: set cacert variables by default
This commit is contained in:
parent
fc2bc4e05b
commit
590bd06ced
2 changed files with 3 additions and 4 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -126,9 +126,6 @@
|
|||
|
||||
environment.variables.HOMEBREW_CASK_OPTS = "--appdir=/Applications/cask";
|
||||
|
||||
environment.variables.GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
environment.variables.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
environment.shellAliases.l = "ls -lh";
|
||||
environment.shellAliases.ls = "ls -G";
|
||||
environment.shellAliases.g = "git log --pretty=color -32";
|
||||
|
|
Loading…
Add table
Reference in a new issue