23 lines
430 B
Nix
23 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";
|
|
};
|
|
|
|
};
|
|
|
|
}
|