Commit graph

161 commits

Author SHA1 Message Date
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
Niklas Korz 26506af385 nixos/meilisearch: use meilisearch_1_11 for stateVersion below 25.05
(cherry picked from commit aac2e41ce0)
2025-05-22 13:54:53 +00: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
h7x4 0a37316d6c
treewide: use mkPackageOption
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Mario Rodas 1744e3fa01
Merge pull request #266675 from anthonyroussel/sonic-server-nixos
nixos/sonic-server: init
2023-11-25 23:45:16 -05:00
Raito Bezarius 022ee4d701 kibana7: drop
Depends on EOL software and no maintenance has been attempted to change this after a ping
(https://github.com/NixOS/nixpkgs/issues/259178)
Feel free to adopt and re-introduce if you care about this software.

This will probably seriously hamper ELK usability in nixpkgs, but as it
receives no maintenance…
2023-11-17 20:26:55 +01:00
Jonathan Zielinski aca76b750d nixos/opensearch: link plugins from opensearch package
disable security module by default, it crashes unit expecting
certificates.
2023-11-14 14:00:30 +01:00
Anthony Roussel b0d279d219
nixos/sonic-server: init 2023-11-10 15:10:14 +01:00
oddlama 11d4f6e4a8
nixos/typesense: disable MemoryDenyWriteExecute which is needed since 0.25.1
also adjust default state directory mode to allow typesense group
2023-09-23 16:37:23 +02:00
oddlama 234dd85da0
nixos/typesense: init at 0.24.1 2023-07-22 16:38:13 +02:00
Felix Buehler bec27fabee treewide: use lib.optional instead of 'then []' 2023-07-12 09:36:28 +01:00
figsoda 701bcdbead nixos: fix typos 2023-05-19 22:31:04 -04:00
happysalada 0cdd78126c qdrant: module increase limitnofile 2023-04-15 13:45:38 -04:00
Weijia Wang c24a8ccc98 solr: drop 2023-03-16 16:17:04 +02:00