set certificates

This commit is contained in:
lassulus 2017-09-09 16:20:47 +02:00
parent 1d364f9a0b
commit 5067cc312e

View File

@ -4,6 +4,13 @@ with import <stockholm/lib>;
{ {
imports = [ imports = [
./backup.nix ./backup.nix
(let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in {
environment.variables = {
CURL_CA_BUNDLE = ca-bundle;
GIT_SSL_CAINFO = ca-bundle;
SSL_CERT_FILE = ca-bundle;
};
})
]; ];
krebs.announce-activation.enable = true; krebs.announce-activation.enable = true;
krebs.enable = true; krebs.enable = true;