Commit graph

2975 commits

Author SHA1 Message Date
Pol Dellaiera 25264d105d nixos/docling-serve: init 2025-04-01 21:42:53 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
John Titor 51dc163364 nixos/ananicy: re enable BPF on hardened kernels
This was a workaround to begin with, as hardened kernel didn't support tracing.
Back then kernel level tracing was only available through debugfs, and now that
tracefs has been available on NixOS for a while now, enabled in
Link: https://github.com/NixOS/nixpkgs/pull/388751

This workaround can be removed and bpf can be used with tracefs.
Link: https://github.com/NixOS/nixpkgs/issues/360957

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-04-01 14:42:59 +05:30
Arne Keller ee6d7cb213
nitter: 0-unstable-2024-02-26 -> 0-unstable-2025-02-25; nixos/nitter: rename guestAccounts to sessionsFile (#393028) 2025-03-31 17:16:30 +02:00
Aaron Andersen caf5710825
redmine: 5.1.7 -> 6.0.4 (#355760) 2025-03-27 18:50:32 -04:00
Arne Keller 98430f956c
pinchflat: init at 2025.3.17, nixos/pinchflat: init (#364135) 2025-03-26 11:06:02 +01:00
Felix Singer 3c341a1df3 nixos/redmine: Precompile assets during pre-start phase
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-03-25 16:59:54 +01:00
Felix Singer 4a803e9b26 redmine: 5.1.7 -> 6.0.4
With release 6.0, the themes directory was moved to a different location
and thus the NixOS Redmine module needs to be adjusted. Assets seem to
be stored in public/assets now and so that needs to be handled by the
NixOS module as well.

[1] https://www.redmine.org/issues/41731

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-03-25 16:57:38 +01:00
uku b6ba4a499c
nixos/nitter: rename guestAccounts to sessionsFile
for consistency with upstream, see
6fcd849eff
2025-03-25 10:48:27 +01:00
Djabx 09d3b7f834
nixos/snapper: add experimental support for bcachefs (#391885) 2025-03-24 16:04:06 +05:30
Jon Seager 7f27abf4a2
nixos/homepage-dashboard: restore strict shell checks 2025-03-23 13:16:24 +00:00
Jon Seager 737bf8c806
nixos/homepage-dashboard: minor refactor for readability 2025-03-23 09:40:05 +00:00
Jon Seager eb324777e9
nixos/homepage-dashboard: remove unmanaged config support
This has been deprecated since before 24.05 was released
and displaying a warning.

This change means that only "managed", i.e.
Nix-native configurations are supported.
2025-03-23 09:39:01 +00:00
Pol Dellaiera 588f479f49
orthanc-framework: init at 1.12.6, orthanc-plugin-dicomweb: init at 1.18 (#391361) 2025-03-22 15:51:46 +01:00
Scott Edlund 6970756fb6 nixos/homepage-dashboard: fix shellcheck SC2115
Error if variable is null or unset.
2025-03-21 19:07:50 +01:00
Pol Dellaiera eb0b7452d6 nixos/orthanc: minor cleanup 2025-03-19 21:20:06 +01:00
charludo 3e3b774732
nixos/pinchflat: init 2025-03-18 12:24:01 +01:00
Jared Baur ce0970e19b
nixos/evremap: get rid of unecessary bash
Using `systemd.services.<name>.script` pulls in bash in the ExecStart
line for a service. Since our "script" was only one line anyways,
we can inline it to just use ExecStart directly. Losing shell features
shouldn't be detrimental here, as we're not using pipes and there are
no globs to expand.
2025-03-17 21:33:00 -07:00
FliegendeWurst 87d9195733 nixos/jackett: fix hardening for custom dataDir 2025-03-17 09:34:10 +01:00
Leona Maroni 50fc446be1
nixos/gitlab: convert gitlab-registry-cert.service to oneshot
docker-registry.service has a `After` dependency on gitlab-registry-cert.
On the first start, docker-registry.service fails to start as it already
runs when gitlab-registry-cert.service starts up, and not when it finished.
2025-03-17 09:19:23 +01:00
Pol Dellaiera c8a823d40b nixos/litellm: init 2025-03-16 20:49:22 +01:00
Pol Dellaiera 79e95661a6
orthanc: init at 1.12.6, nixos/orthanc: init (#385329) 2025-03-16 20:47:37 +01:00
Pol Dellaiera 933f835219 nixos/orthanc: init 2025-03-15 22:45:44 +01:00
Adam C. Stephens 4ee53e6544
nixos/open-webui: add additional systemd hardening (#377884) 2025-03-15 10:07:32 -04:00
Marie Ramlow 342c4f300b nixos/{renovate, libvirtd}: fix typo 2025-03-15 00:30:21 +05:30
Bryan Bennett 60cf5c7188 evremap: Fix key type regex 2025-03-10 16:33:38 -04: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
Victor B. bb9f3ae6ed
tp-auto-kbbl: enable upower service 2025-03-07 20:41:16 +01:00
Jeremiah 1e0217b0c5
nixos/soft-serve: restart trigger added (#384829)
Previously changing configuration did not apply to the running service
requiring it to be restarted manually. This fixes that issue.
2025-03-05 12:54:04 -05:00
Sefa Eyeoglu dd82cce766
nixos/tandoor-recipes: fix default user and group creation
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-03-03 10:04:50 +01:00
Bruno BELANYI 0c4bc741cf
nixos/radarr,lidarr,readarr,whisparr,prowlarr: add settings option (#384052) 2025-03-01 09:10:11 +00:00
Bruno BELANYI e44a5f7f21
tandoor_recipes: use static user and group instead of DynamicUser (#382858) 2025-02-28 10:11:21 +00:00
Pol Dellaiera 56e88da108
rebuilderd: init at 0.22.1 (#343334) 2025-02-28 09:14:08 +01:00
Sandro Jäckel 36a3c6c11d
nixos/paperless: move paperless-manage to proper systemPackage 2025-02-27 21:47:35 +01:00
Pol Dellaiera 2c8bdd00fd nixos/rebuilderd: init 2025-02-27 21:18:46 +01:00
Felix Buehler 4618d53eda nixos/servarr: organize files 2025-02-24 18:50:09 +01:00
Felix Buehler 7b0f7e2696 nixos/prowlarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler 22b311429f nixos/whisparr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler 7045b5061f nixos/readarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler ae25ae9c3d nixos/lidarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler 0ee1f7fd4c nixos/radarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler dcf1b856ac nixos/sonarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler 2542b9e428 nixos/servarr: add options and env-var functions 2025-02-24 18:50:06 +01:00
K900 ae9e269c73
Revert "nixos/sonarr: add settings option" 2025-02-22 12:15:51 +03:00
Felix Bühler 3ac3a47fd4
nixos/sonarr: add settings option (#373576) 2025-02-21 20:52:10 +01:00
Felix Buehler 3e40ff7bbe nixos/sonarr: add settings option 2025-02-21 20:41:59 +01:00
Vladimír Čunát e493a167e1
staging-next 2025-02-09 (#380680) 2025-02-20 11:52:15 +01:00
Leona Maroni a89822eecb
gitlab: allow to use bundler from nixpkgs, rather than bundler from (#382196) 2025-02-20 09:41:07 +01:00
nixpkgs-ci[bot] 80447868c6
Merge master into staging-next 2025-02-20 00:14:40 +00:00
Sandro 2efa2118a0
nixos/gitea: add CAPTCHA support (#380847) 2025-02-19 20:38:46 +01:00
nixpkgs-ci[bot] a8eabdcf7f
Merge master into staging-next 2025-02-19 11:19:10 +00:00
K900 550696628c nixos/moonraker: allow configuring analysis 2025-02-19 11:11:31 +03:00
TGRCDev 9c68d12eba
nixos/gitea: add CAPTCHA support 2025-02-18 21:24:46 +01:00
Ilya Savitsky fe2727c45b tandoor_recipes: use static user and group instead of DynamicUser
Signed-off-by: Ilya Savitsky <ilya.savitsky@codethink.co.uk>
2025-02-17 23:08:46 +00:00
K900 ef9eef8d21 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-15 17:19:02 +03:00
Tim Englart 5555f5f846 nixos/autobrr: update serivce default port value to be a number 2025-02-15 19:01:41 +10:00
Kirill Radzikhovskyy 469728b042 gitlab: allow to use bundler from nixpkgs, rather than bundler from
Gemfile.lock
2025-02-15 12:55:42 +11:00
nixpkgs-ci[bot] 43a5de6cbb
Merge master into staging-next 2025-02-14 12:05:56 +00:00
Donovan Glover 0bf9d5035b
nixos/tabby: fix invalid mkRemovedOptionModule import (#371747) 2025-02-14 11:19:13 +00:00
Martin Weinelt eb57ea0460
Merge remote-tracking branch 'origin/master' into staging-next 2025-02-14 02:28:12 +01:00
Bruno BELANYI a10e1717e2
nixos/autobrr: use systemd credentials (#381759) 2025-02-13 22:23:25 +00:00
Pedro Alves ce9137b32d nixos/autobrr: make use of package option
The package option was defined, but the generated systemd service was
hardcoded to use pkgs.autobrr.
2025-02-13 13:43:12 +00:00
Pedro Alves 6c64d6daf9 nixos/autobrr: use systemd credentials
Make use of systemd's LoadCredentials feature to allow for the secret
file to be better managed without having to be world-readable, since
due to DynamicUser it was not possible to assign it to one specific
user.
2025-02-13 13:43:05 +00:00
nixpkgs-ci[bot] ba14e0aa79
Merge master into staging-next 2025-02-13 00:14:34 +00:00
dish f2ed072641 nixos/uhub: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 2b78a852e6 nixos/pinnwand: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish a4959c465e nixos/open-webui: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 32579269a4 nixos/ollama: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 612dc95881 nixos/nitter: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 61a15a28f9 nixos/languagetool: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d8e1beecaa nixos/invidious-router: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 6e62a2703a nixos/input-remapper: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 28b67e4c43 nixos/homepage-dashboard: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 44f86c5331 nixos/gitlab: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d3f92fba7f nixos/dysnomia: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d1905f4a06 nixos/bepasty: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 52bab06cd0 nixos/sourcehut: fix documentation link formatting 2025-02-12 21:03:21 +01:00
nixpkgs-ci[bot] 97b9d455ea
Merge master into staging-next 2025-02-12 12:05:57 +00:00
r33drichards f06e9069de
nixos/metabase: add package option (#334804)
* add package option to metabase

* Update nixos/modules/services/misc/metabase.nix

Co-authored-by: Arne Keller <arne.keller@posteo.de>

---------

Co-authored-by: rw <rw@jjk.is>
Co-authored-by: Arne Keller <arne.keller@posteo.de>
2025-02-12 09:00:39 +01:00
Wolfgang Walther b19d0f6d3d
treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Doron Behar feff3adcf0
nixos/tzupdate: report timezone being set in journal (#374485) 2025-02-08 22:57:45 +02:00
Doron Behar f74883a691 nixos/tzupdate: report timezone being set in journal
Also, no need for set -uo pipefail as there are no pipes there at the
moment.
2025-02-08 22:50:13 +02:00
bas f29f441133 Remove lib.mdDoc and add missing backticks 2025-02-07 14:13:38 +01:00
Florian Klink 8b6ca92fb4
nixos/weechat: Rework module (#365208) 2025-02-07 08:44:25 +01:00
Lin Jian 1277e738cb
nixos/taskchampion-sync-server: support specifiying --allow-client-id (#374939) 2025-02-05 12:39:52 +08:00
wrvsrx 196c170197
nixos/taskchampion-sync-server: support specifiying --allow-client-id
taskchampion-sync-server supports specifying --allow-client-id in v0.5.0.
2025-02-05 12:28:49 +08:00
Felix Singer 36c5aed6d3 nixos/weechat: Allow switching between TUI and headless mode
weechat can run in TUI or headless mode. Introduce the option
`headless` for specifying that. Based on the setting, it configures
the appropriate binary in the `binary` option and it also configures the
systemd unit accordingly. `headless` is disabled by default.

This doesn't change the current behaviour.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:21 +01:00
Felix Singer 8ef264f0a9 nixos/weechat: Introduce package option
Allow specifying a custom weechat package.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:21 +01:00
Felix Singer e66ee6f45f nixos/weechat: Drop user home directory configuration
Configuring an user home directory also enables several invocations and
mechanisms, e.g. SSH authorized_keys or bashrc, which is bad from a
security perspective. The service doesn't need that at all and the
environment is set up over different ways now. So drop it.

This doesn't change the current behaviour.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:21 +01:00
Felix Singer f70547debc nixos/weechat: Set up state directory
In preparation for dropping the user home directory, set up the state
directory manually. Use the systemd unit options when /var/lib/weechat
is used and use systemd-tmpfiles for all other locations. Not sure if it
makes any difference. However, it seems systemd tends to control its
directories in /var/lib and so it might make more sense to use the
existing options of the systemd unit.

This doesn't change the current behaviour.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:21 +01:00
Felix Singer 35e7219c0b nixos/weechat: Retype root option to lib.types.path
This option represents a path. So use the corresponding type.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:20 +01:00
Felix Singer 0def76f96c nixos/weechat: Use parameter instead of env variable for state dir
The environment variable hides the actual state directory of weechat in
systemctl. To make it more obvious, use the equivalent CLI parameter.

This doesn't change the current behaviour.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:20 +01:00
Felix Singer fab596794b nixos/weechat: Add and remove some blank lines for consistency
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-05 02:49:20 +01:00
Bruno BELANYI aa86030b66
nixos/recyclarr: init module (#374070) 2025-02-04 11:04:33 +00:00
Alex Martens ebba6d1b77 nixos/homepage-dashboard: fix links
These links were returning 404 not found.
2025-02-01 20:31:36 -08:00
shivaraj-bh 4b9de23515 nixos/open-webui: quote services.open-webui.host in start script 2025-01-31 16:05:12 +05:30
Ota Mares 77163c2205
nixos/recyclarr: init module 2025-01-31 00:54:52 +01:00
Alex Martens dea0cb06e3 nixos/open-webui: add additional systemd hardening 2025-01-29 19:41:56 -08:00
Philip Taron d9b725d0b7
nixos/*: tag manpage references (#377184) 2025-01-27 09:09:38 -08:00
Lin Jian 321e731040
nixos/guix: set proxy env vars for guix-daemon (#373948) 2025-01-27 13:30:13 +08:00