mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 00:54:46 +00:00
22 lines
297 B
Nix
22 lines
297 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
with pkgs.lib;
|
||
|
|
||
|
{
|
||
|
|
||
|
config = {
|
||
|
|
||
|
environment.etc = singleton
|
||
|
{ source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
||
|
target = "ca-bundle.crt";
|
||
|
};
|
||
|
|
||
|
environment.shellInit =
|
||
|
''
|
||
|
export CURL_CA_BUNDLE=/etc/ca-bundle.crt
|
||
|
'';
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|