Commit graph

2975 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 1c6af9ba0a
treewide: remove unused with
Auto-fixed by nixf-diagnose.

(cherry picked from commit c283f32d29)
2025-10-05 12:38:28 +02:00
Wolfgang Walther 6c1e6f90d3
treewide: remove unused rec
Auto-fix by nixf-diagnose.

(cherry picked from commit 90e7159c55)
2025-10-05 12:38:23 +02:00
Wolfgang Walther dd87a415ee
[Backport release-25.05] nixos/sssd: use upstream unit directives (#434671) 2025-09-20 14:43:05 +00:00
Defelo ad0f2f28ec nixos/radicle: add httpd.aliases option
(cherry picked from commit 8b4862c608)
2025-09-01 14:47:38 +00:00
Minijackson 7255ed8f2c nixos/sssd: add upstream hardening options in sssd-kcm.service
(cherry picked from commit 4e40f1c79e)
2025-08-18 07:44:31 +00:00
Minijackson dcd993f7af nixos/sssd: add upstream directives in sssd.service
Changed the service type from forking to notify,
which should gives a better indication of when the service is ready.

Changed the preStart into an ExecStart,
in order for upstream's NotifyAccess=main to work.

Added Restart=on-abnormal for better service stability.

(cherry picked from commit 9867229696)
2025-08-18 07:44:31 +00:00
frantathefranta 361f6a6354
nixos/conman: init module
Adding a service for the conman package

Changes to conman service as per review

(cherry picked from commit 8b97231460)
2025-08-15 18:22:31 -04: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
Benedikt Peetz 67c932004a nixos/invidious-router: Add systemd dependency on network-online.target
Otherwise, the systemd service will reliably fail on a clean boot, as
invidious-router needs a set-up network connection before starting.

(cherry picked from commit fab364e89b)
2025-07-14 08:11:27 +00:00
Masum Reza 561ddf49c6
nixos/amdgpu: add overdrive and ppfeaturemask option
- `programs.corectrl.gpuOverclock.enable` -> `hardware.amdgpu.overdrive.enable`
- `programs.corectrl.gpuOverclock.ppfeaturemask` -> `hardware.amdgpu.overdrive.ppfeaturemask`
- `programs.tuxclocker.enableAMD` -> `hardware.amdgpu.overdrive.enable`

(cherry picked from commit c9f192da92)
2025-07-09 12:20:24 -04:00
eljamm b4a3d1df40 nixos/omnom: fix module
(cherry picked from commit 19c1b4250c)
2025-06-23 20:49:10 +02:00
FliegendeWurst 48b018d02a nixos/bees: fix option example
The attribute name usually corresponds to the path of the filesystem.

(cherry picked from commit 2e68a674bd)
2025-05-26 03:10:59 +00:00
Aleksana ed3e8fdc88
[Backport release-25.05] nixos/paperless: expose manage package (#408739) 2025-05-23 15:19:26 +08:00
Yaya a1d1c7afd9 nixos/gitlab: update minimum PostgreSQL version assertion
GitLab 18.0.0 requires at least PostgreSQL 16.

https://docs.gitlab.com/18.0/install/requirements/#postgresql
(cherry picked from commit ee58f11546)
2025-05-21 12:57:34 +02:00
Jonas Sander c7eaa2ddb2 nixos/paperless: expose manage package (#405610)
(cherry picked from commit 309871725f)
2025-05-19 14:38:20 +00:00
Niklas Korz ed59c106c7 nixos/signald: drop
(cherry picked from commit 9958792cae)
2025-05-18 19:45:40 +00:00
Marcin Serwin f4668fe0d4 nixos/sourcehut: adapt to new versions
(cherry picked from commit fa148f9b48)
2025-05-17 15:34:17 +00:00
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
Florian Brandes 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