mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
24 lines
430 B
Nix
24 lines
430 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
environment.etc =
|
|
[ { source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
|
target = "ssl/certs/ca-bundle.crt";
|
|
}
|
|
];
|
|
|
|
environment.sessionVariables =
|
|
{ SSL_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
|
|
# FIXME: unneeded - remove eventually.
|
|
OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
|
|
};
|
|
|
|
};
|
|
|
|
}
|