Commit Graph

2956 Commits

Author SHA1 Message Date
Leona Maroni
f79b568519 nixos/gitlab: add activeRecord key files (#405047) 2025-05-12 08:40:16 +02:00
a
1d483cbef1 Resolves #405846 2025-05-10 21:38:58 +12:00
Alex Martens
fae4917f2f nixos/homepage-dashboard: harden service (#377886) 2025-05-08 20:28:08 +01:00
isabel
4324b1e793 nixos/evremap: get rid of unecessary bash (#390855) 2025-05-08 17:04:52 +01:00
Leona Maroni
a95a530883 nixos/gitlab: add activeRecord key files
GitLab 17.11 started using rails activeRecord encryption for some values.
Introduce new key files. This is breaking for unstable/25.05.

Also add a test to prevent this from happening unnoticed in the future.

For the future there should also be an option to set multiple activeRecord
keys for rotation.
2025-05-07 22:17:02 +02:00
Sandro
ebfa5f86be nixos/octoprint: add package option (#393772) 2025-05-07 12:51:44 +02:00
Florian Klink
f86a08a098 nixos/dump1090-fa: init (#381375) 2025-05-05 17:49:02 +03:00
Andrea Ciceri
5acdacbfcf nixos/dump1090-fa: init module 2025-05-05 15:29:16 +02:00
Martin Weinelt
71ec941833 nixos/services.paperless: add extra files OCR (#396946) 2025-05-03 19:18:41 +02:00
flakeuser
88e40e42ef nixos/services.paperless: add extra files OCR
This adds a setting for processing extra files with OCR through tika and
gotenberg
2025-05-03 09:39:50 -07:00
74f94b0a3e nixos/octoprint: add package option
fixes #392870

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2025-05-02 17:34:58 +02:00
Victor Engmark
9b3ee87994 nixos/tzupdate: Remove reference to non-existing attribute
Fixes #402016.
2025-04-27 10:48:37 +02:00
matthewcroughan
7b593827dd nixos: nix.sshServe: add trusted option 2025-04-23 18:53:46 +01:00
Christoph Heiss
ba3fecf0ef nixos/yarr: init
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2025-04-22 22:08:33 +02:00
xanderio
aca270648e nixos/tzupdate: make enabled module actually be enabled (#361373) 2025-04-22 12:57:48 +02:00
Leona Maroni
dd3403a0f5 nixosTests.gitlab: add minimal test for gitlab-container-registry (#390623) 2025-04-21 18:39:17 +02:00
Aleksana
27299af9e6 tp-auto-kbbl: enable upower service (#388006) 2025-04-20 15:15:29 +08:00
Nico Felbinger
e0d1b49a46 chore: move meta option to top level in many modules 2025-04-19 18:27:48 +02:00
sorki
7a6c5213ce nixos/moonraker: set default machine.provider to none if system control is disabled
This suppresses warnings about missing PolicyKit rules.
2025-04-19 08:21:49 +02:00
Jairo Llopis
a6c31c856b nixos/tzupdate: add timer and package options 2025-04-18 07:57:30 +01:00
Gabe Venberg
65f92138c1 nixos/homepage-dashboard: Set ALLOWED_HOSTS env var.
homepage 1.0.0 requires this var to be set, this change allows setting
it without building an environmentFile.
2025-04-16 17:24:49 +02:00
Leona Maroni
8e5a0fe6b4 paperless-ngx: 2.14.7 -> 2.15.1 (#397828) 2025-04-14 13:50:55 +02:00
Sandro
e1cb306b28 gotenberg: 8.9.1 -> 8.16.0; update and fix module options (#379377) 2025-04-14 01:12:21 +02:00
emilylange
5eefeb3fe0 nixos/forgejo: leverage systemd-notify support
This feature goes all the way back to v1.20.0 (mid 2023) back when
Forgejo was still a soft-fork and simply used the nixos/gitea module.

The tl;dr:
nixos/gitea enabled it as part of the Gitea 1.20 bump PR, while Forgejo
was still at 1.19.4 and did not support this yet, causing Forgejo to
get restarted after 90s by systemd in a loop. This, among other things,
was part of the reason why Forgejo forked the nixos/gitea module into
nixos/forgejo and it since moving independently in nixpkgs.

systemd-notify provides more accurate service unit states over the
previous service type "simple".

Ref: b61919e5e0
Ref: 44aee34594
2025-04-12 22:40:25 +02:00
dish
31aedcfbee nixos/gotenberg: Add new settings for 8.10.0+ versions
Also fixes some issues that were reported.
2025-04-12 21:31:00 +02:00
Sandro Jäckel
bcb64d6806 paperless-ngx: 2.14.7 -> 2.15.1
Changelog: https://github.com/paperless-ngx/paperless-ngx/releases/tag/v2.15.0
Changelog: https://github.com/paperless-ngx/paperless-ngx/releases/tag/v2.15.1
2025-04-11 17:43:04 +02:00
Jairo Llopis
e2b65c0239 nixos/tzupdate: make enabled module actually be enabled
Without this fix, when setting `services.tzupdate.enable = true`, the service would never run automatically.

Now, it's actually enabled in systemd and it actually gets executed.

Still, it could be improved with a timer as explained in https://github.com/NixOS/nixpkgs/issues/127984#issuecomment-2512059143, but this makes it at least work out of the box when rebooting the system.
2025-04-08 07:35:10 +01:00
municorn
badd9d1a70 nixos/taskchampion-sync-server: add host option, fix ExecStart
fixes the command line arguments for taskchampion-sync-server, also adding a new `host` option. fixes the corresponding test as well.
2025-04-05 22:09:44 -06:00
Sandro Jäckel
7afa349ea8 nixos/paperless: mirror upstream admin user creation more closely
Closes #249767

Before we only created the admin user when passwordFile was set.
Now it is possible to set PAPERLESS_ADMIN_USER and
PAPERLESS_ADMIN_PASSWORD directly to create the admin user, like in the
upstream Docker image.
2025-04-04 17:22:31 +02:00
Pol Dellaiera
d62fd5fa6c nixos/docling-serve: update environment variables 2025-04-03 14:14:39 +02:00
Alois Wohlschlager
71204983bd nixos/bees: use the upstream service file
Instead of duplicating the options from the upstream service file and letting
them get out of sync, use the file directly and only configure the needed
overrides. In particular, the upstream improvements include the mounts not
being globally visible any more, so they can't be used for bypassing nosuid and
the like, and the custom cleanup script that performed the unmount becomes
unnecessary.
2025-04-03 06:52:49 +02:00
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