1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-09 03:55:44 +03:00
Commit graph

2944 commits

Author SHA1 Message Date
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
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