Commit graph

172 commits

Author SHA1 Message Date
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
Marcel d7977717ac
nixos/hound: remove with lib; 2024-06-27 21:59:07 +02:00
Marcel e6979857a3
nixos/hound: convert config to free-form type, add config check 2024-06-27 21:56:18 +02:00
Marcel 73e7708bee
nixos/hound: cleanup services.hound.enable 2024-06-27 21:56:18 +02:00
Silvan Mosberger c8dec6df38
Merge pull request #322801 from eclairevoyant/discourage-mkpackageoptionmd
lib: deprecate mkPackageOptionMD
2024-06-27 20:15:08 +02:00
éclairevoyant aeee4fc133
treewide: replace mkPackageOptionMD with mkPackageOption 2024-06-26 23:05:42 -04:00
DCsunset 05b67b87b7 nixos/quickwit: fix service ReadWritePaths 2024-06-26 20:47:00 -04:00
Albert Safin d4c3537f8e qdrant: use qdrant-web-ui 2024-06-18 12:54:42 +00:00
Jonathan Davies 2ef778f69a
nixos/quickwit: init module 2024-06-06 00:49:37 +01:00
Jonas Heinrich cf52591a0a nixos/manticore: init module 2024-04-16 13:50:57 +02:00
stuebinm 6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Sandro d011c93f7d
nixos/hound: adopt, rework, cleanup (#268983)
- add me as maintainer
- remove hardcoded user id
- validate syntax of config file
- remove superfluous option extraGroups
- use mkPackageOptionMD
2023-12-05 15:59:26 +01:00
Sarah Brofeldt 110828e412
Merge pull request #271243 from shyim/fix-opensearch-boot
nixos/opensearch: check plugins directory exists before checking content
2023-12-01 06:33:50 +01:00
Soner Sayakci 87b3a98c36
nixos/opensearch: check plugins directory exists before checking content 2023-11-30 19:09:11 +01:00
h7x4 79d3d59f58
treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +01:00
Weijia Wang feeae486de
Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption
treewide: use `mkPackageOption`
2023-11-30 02:49:30 +01:00