Commit Graph

188 Commits

Author SHA1 Message Date
Yt
146075cd35 (Part 5) various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre} (#481641) 2026-08-01 23:57:36 +00:00
Cody Allen
20eb3b9da7 nixos/meilisearch: fix dumpless upgrade config field name
After #547346, the meilisearch nixos module was failing to start because
of a breaking change to a meilisearch configuration field name.

[meilisearch 1.51.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.51.0) release notes include the following:

> The flag `—-experimental-dumpless-upgrade` is renamed `—-upgrade-db`, keeping the exact same behavior.

This makes the necessary change to the yaml config file (which uses snake_case unlike the CLI flag).
2026-08-01 15:09:01 -04:00
h7x4
8e5c95315c nixos/meilisearch: replace systemd preStart with ExecStartPre 2026-07-31 03:19:30 +09:00
Taeer Bar-Yam
a3d43e3230 nixos/nominatim: make UI optional 2026-05-27 19:31:34 +02:00
Michael Daniels
2e87c2f8f4 nixos/*: remove unused let bindings
Generated using deadnix (with some manual work); split from #514611.
2026-05-01 20:39:14 -04:00
Philipp Herzog
754097dbc4 opensearch: 2.19.2 -> 3.5.0
Release Notes:
https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-3.5.0.md
2026-04-02 11:17:00 +02:00
Taeer Bar-Yam
e1aaee8a53 nixos/nominatim: add nominatim-api to PYTHONPATH 2026-03-30 22:19:32 +02:00
Michael Daniels
91458b5177 hound: vendor check-config patch, fix check being a no-op (#488407) 2026-03-08 00:31:16 +00:00
Sandro
09a88cd4f4 nixos/librechat: add meilisearch support (#481465) 2026-03-06 02:47:47 +00:00
Sandro Jäckel
a9f3e4f59d hound: vendor check-config patch, fix check being a no-op 2026-02-08 18:11:03 +01:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Gutyina Gergő
b7d39def11 nixos/meilisearch: add instructions for generating masterKeyFile 2026-01-19 11:51:57 +01:00
NAHO
a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
Diogo Correia
e8d7ea8b88 nixos/meilisearch: enable experimental dumpless upgrade by default
Fixes #327978
2025-12-10 15:25:09 +00:00
Wolfgang Walther
53d55066d2 maintainers: drop Br1ght0ne
Reacted to 2 out of 223 maintainer pings in the least 180 days.
2025-12-09 21:05:56 +01:00
Niklas Korz
577a8e8d52 nixos/meilisearch: remove redundant package setting
The `services.meilisearch.package` option already defaults to
`pkgs.meilisearch`, due to the nature of `mkPackageOption`.
2025-11-09 22:53:15 +01:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
dish
8e472c6999 meilisearch_1_11: drop
As noted in the now-deleted comments, this was intended to be removed
with NixOS 25.11.
2025-10-03 22:08:33 -04:00
6543
fcf00a6c71 services.meilisearch: restrict write paths and add hardening option RemoveIPC 2025-09-30 20:13:57 +02:00
h7x4
b6d0fa4ed9 nixos/elasticsearch: use types.port 2025-09-22 16:32:59 +02:00
h7x4
30a76b363a nixos/meilisearch: allow access to proc for memory limit (#442565) 2025-09-20 15:04:15 +00:00
Guillaume Bogard
f14c1d1e20 nixos/services.qdrant: add options to override packages
This makes it possible to deploy a different version of Qdrant, such as
an unstable version, using the nixos qdrant module.
2025-09-16 16:17:29 +02:00
Pascal Bach
5c43592f4f nixos/meilisearch: allow access to proc for memory limit
Meilisearch requires access to more infomration in /proc to caluclate it's memory limits

Resolves #441978
2025-09-13 09:47:38 +02:00
Pol Dellaiera
bc36d3ac43 maintainers: drop drupol 2025-08-20 17:54:38 +02:00
Yt
44759f48d7 nixos/meilisearch: harden (#427768) 2025-07-30 22:08:14 -04:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
sodiboo
547a264671 nixos/meilisearch: harden 2025-07-23 06:08:24 +02:00
sodiboo
5a8660f10f nixos/meilisearch: generic settings; handle secrets better. 2025-07-13 20:42:05 +02:00
Ivan Mincik
5cd09e28ae nixos/modules: add nominatim module and test 2025-07-09 16:17:56 +02:00
Niklas Korz
aac2e41ce0 nixos/meilisearch: use meilisearch_1_11 for stateVersion below 25.05 2025-05-22 08:27:23 +02:00
Sandro
c791f0351d tika: bump jdk to 17, add option to disable GUI and use minimal jdk (#396927) 2025-04-18 18:49:45 +02:00
Diogo Correia
240390342d nixos/meilisearch: add dumpless upgrade option
Default is false since it is still experimental.

See #327978
2025-04-16 16:41:23 +01:00
Sandro Jäckel
f9bca2bcab tika: bump jdk to 17, add option to disable GUI and use minimal jdk
Upstream uses jdk 17 in their CI, too
https://github.com/apache/tika/tree/2.9.3/.github/workflows
2025-04-12 22:35:38 +02:00
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
Bjørn Forsman
4460c6bfe9 nixos/hound: add .json extension to the generated config file
It is a JSON file, why not show it?
2025-01-28 19:44:11 +01:00
Bjørn Forsman
56bfc5782d nixos/hound: restart service on config changes
I expect config changes to be observable in the running service after
`sudo nixos-rebuild switch`. hound doesn't seem to support *reload*, so
use restart instead.
2025-01-28 19:41:12 +01:00
Felix Buehler
ed344f1d2a nixos/services.quickwit: remove with lib; 2024-12-30 12:09:39 +01:00
Felix Buehler
0c00abec83 nixos/services.qdrant: remove with lib; 2024-12-30 12:09:39 +01:00
Felix Buehler
418f49af74 nixos/services.opensearch: remove with lib; 2024-12-30 12:09:39 +01:00
Felix Buehler
90934eae50 nixos/services.meilisearch: remove with lib; 2024-12-30 12:09:39 +01:00
Felix Buehler
b9b070ae82 nixos/services.manticore: remove with lib; 2024-12-30 12:09:39 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
happysalada
4f456b4dec nixos/meilisearch: add to systemPackages 2024-11-26 02:14:47 -05:00
happysalada
ab7abb5c80 nixos/meilisearch: format 2024-11-26 02:13:20 -05:00
Felix Buehler
7882454654 nixos/manticore: fix mkKeyValueDefault 2024-11-24 12:26:40 +01:00
PapayaJackal
4a42682ff8 nixos/meilisearch: fix disabling analytics 2024-11-17 01:34:29 +00:00
Pol Dellaiera
6b3c00c65a nixos/tika: add enableOcr option 2024-07-17 13:14:35 +02:00
Pol Dellaiera
c8bf7321a9 nixos/tika: init module 2024-07-12 18:46:53 +02:00
Sandro Jäckel
ccd042b969 nixos/hound: set reasonable default for dbpath 2024-06-27 21:59:15 +02:00