diff options
author | William A. Kennington III <william@wkennington.com> | 2015-06-05 13:00:52 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-06-05 13:00:52 -0700 |
commit | ffd0539eba473348f752fa8ab1f1f55388634f8f (patch) | |
tree | f7a7fcc8b0a71d3b323595bbf241886dbc31a023 /nixos | |
parent | 9176f73ceed438857e8c503a1a34fd0161db6297 (diff) |
cacert: store ca-bundle.crt in $out/etc/ssl/certs instead of $out
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/ca.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security/ca.nix b/nixos/modules/security/ca.nix index 595b9476fa5f9..31caab97a65fa 100644 --- a/nixos/modules/security/ca.nix +++ b/nixos/modules/security/ca.nix @@ -22,7 +22,7 @@ in security.pki.certificateFiles = mkOption { type = types.listOf types.path; default = []; - example = literalExample "[ \"\${pkgs.cacert}/ca-bundle.crt\" ]"; + example = literalExample "[ \"\${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt\" ]"; description = '' A list of files containing trusted root certificates in PEM format. These are concatenated to form @@ -53,7 +53,7 @@ in config = { - security.pki.certificateFiles = [ "${pkgs.cacert}/ca-bundle.crt" ]; + security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ]; # NixOS canonical location + Debian/Ubuntu/Arch/Gentoo compatibility. environment.etc."ssl/certs/ca-certificates.crt".source = caBundle; |