nixpkgs/nixos/modules/services/search
shelvacu 1a4575f9db
nixos/modules: Add security.pki.caBundle option and make all services use it for CA bundles (#352244)
Previously some modules used `config.environment.etc."ssl/certs/ca-certificates.crt".source`, some used `"/etc/ssl/certs/ca-certificates.crt"`, and some used `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"`. These were all bad in one way or another:

- `config.environment.etc."ssl/certs/ca-certificates.crt".source` relies on `source` being set; if `text` is set instead this breaks, introducing a weird undocumented requirement
- `"/etc/ssl/certs/ca-certificates.crt"` is probably okay but very un-nix. It's a magic string, and the path doesn't change when the file changes (and so you can't trigger service reloads, for example, when the contents change in a new system activation)
- `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"` silently doesn't include the options from `security.pki`

Co-authored-by: Shelvacu <git@shelvacu.com>
2025-03-08 08:41:08 +00:00
..
elasticsearch-curator.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
elasticsearch.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
hound.nix nixos/modules: Add security.pki.caBundle option and make all services use it for CA bundles (#352244) 2025-03-08 08:41:08 +00:00
manticore.nix nixos/services.manticore: remove with lib; 2024-12-30 12:09:39 +01:00
meilisearch.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
meilisearch.nix nixos/services.meilisearch: remove with lib; 2024-12-30 12:09:39 +01:00
opensearch.nix nixos/services.opensearch: remove with lib; 2024-12-30 12:09:39 +01:00
qdrant.nix nixos/services.qdrant: remove with lib; 2024-12-30 12:09:39 +01:00
quickwit.nix nixos/services.quickwit: remove with lib; 2024-12-30 12:09:39 +01:00
sonic-server.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
tika.nix nixos/tika: add enableOcr option 2024-07-17 13:14:35 +02:00
typesense.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00