Commit graph

2256 commits

Author SHA1 Message Date
Sandro ea79d17e5b
nixos/nextcloud: update nextcloud version in example 2025-03-07 20:20:39 +01:00
Sandro Jäckel 98b175f44a
nixos/nextcloud: fix shellcheck after #367433 2025-03-07 14:41:02 +01:00
Maximilian Bosch 6c4f93e113
Merge: nixos/nextcloud: use LoadCredential to read secrets (#367433) 2025-03-07 10:58:29 +01:00
โทสฺตัล 43c1654cae nixos/movim: run nixfmt on module
This 711-line file was expanded into 817-line file by nixfmt.
Readability was hurt as now I can’t see as much in my editor at a time;
this directly makes editing & reviewing slower as reading is harder. I
am upset about this change.
2025-03-07 14:53:05 +07:00
Defelo eccf638822
nixos/echoip: improve systemd hardening 2025-03-06 02:01:23 +01:00
Maximilian Bosch 432d274c81
nixos/nextcloud-notify_push: use RestartMode=direct
`nextcloud-notify_push.service` requires
`nextcloud-notify_push-setup.service`. If the latter fails (e.g. because
of Nextcloud not being there yet), the push service would also fail with
result 'dependency'.

RestartMode=direct doesn't put a unit into failed state IF it's about to
be restarted again. That way, `nextcloud-notify_push` will await several
restart attempts. Only if the unit fails due to a rate-limit (i.e. too
many restarts), the push service will also fail.

If the startup is still too slow, it may make sense for administrators to
configure higher intervals between the start attempts with RestartSec.
2025-03-05 17:27:04 +01:00
Sandro d52a42c0c1
part-db: init at 1.14.5 (#365249) 2025-03-05 15:31:27 +01:00
Nico Felbinger c456896108
nixos/part-db: init module
Co-authored-by: Sandro <7258858+supersandro2000@users.noreply.github.com>
Co-authored-by: Tert0 <62036464+tert0@users.noreply.github.com>
2025-03-05 12:56:25 +01:00
Sandro 4f7fc6dfdf
nixos/glitchtip: init module (#386013) 2025-03-05 01:23:43 +01:00
Defelo 5da710d274
nixos/glitchtip: init module
Co-authored-by: soyouzpanda <soyouzpanda@soyouzpanda.fr>
Co-authored-by: Nico Felbinger <nico@felbinger.eu>
2025-03-05 00:24:50 +01:00
Joshua Kobschätzki 3403819b4d netbox_4_2: init
Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com>
2025-03-03 21:24:13 +01:00
Alexander Sieg 8af0a5abfd dependency-track: don't bundle frontend in jar
Bundling the frontend in the jar is deprecated by upstream and causes
the frontend from being serve after weeks of runtime.
2025-03-02 16:50:01 +01:00
Maximilian Bosch 2cf427c045
Merge: nextcloud31: init at 31.0.0 (#385060) 2025-03-01 13:47:45 +01:00
Maximilian Bosch be4fd8fdf2
nixos/nextcloud: update docs
* Update related packages for pkg option.
* Add release notes.
2025-03-01 11:58:54 +01:00
Sandro 32d2826f35
nixos/archtika: init at 1.0.1 (#365218) 2025-02-27 23:56:06 +01:00
Aaron Jheng a2f3625d99
poppler-utils: rename from poppler_utils 2025-02-27 16:56:01 +08:00
transcaffeine dfe1187fea
nextcloud31: init at 31.0.0
Release notes: https://github.com/nextcloud/server/releases/tag/v31.0.0
Upgrade notes: https://docs.nextcloud.com/server/31/admin_manual/release_notes/upgrade_to_31.html
2025-02-26 08:29:34 +01:00
Rémi NICOLE 585966ade5
netbox: add option to listen on Unix socket (#379919) 2025-02-25 14:06:06 +00:00
Anna Aurora 4d2bb49e75
nixos/meme-bingo-web: harden 2025-02-23 17:47:56 +01:00
Anna Aurora db6c59929b
nixos/meme-bingo-web: add address and openFirewall options 2025-02-23 17:47:29 +01:00
Maximilian Bosch f6634090cf
Merge: nixos/nextcloud: add hint about HSTS to https setting (#345609) 2025-02-22 21:16:18 +01:00
Felix Stupp 5edaed025b
nixos/nextcloud: add hint about HSTS to https setting
Enabling HSTS "just by default" when a module user requests HTTPS support to be enabled is prone to creating kind of DoS scenarios. This commit at least informs module users about this.
2025-02-22 13:01:10 +00:00
Silvan Mosberger 4f59aa5ed1
treewide: fix typos (#384093) 2025-02-22 12:54:11 +01:00
lassulus 4f2cee1fd6
nixos/hedgedoc: add fchown to SystemCallFilter to fix filesystem backend (#383787) 2025-02-22 10:01:59 +07:00
Peder Bergebakken Sundt d525eb5838 treewide: fix typos
done with `fd \\\.md$ . --type f -x typos --write-changes`
2025-02-22 02:02:07 +01:00
Robert Helgesson 44a5b1bdca nixos/grav: init module 2025-02-21 23:09:42 +01:00
lassulus 9f2a05224c nixos/hedgedoc: add fchown to SystemCallFilter to fix filesystem backend 2025-02-21 01:01:10 +01:00
Defelo 5309357c3e
zipline: 3.7.13 -> 4.0.0 2025-02-19 23:38:35 +01:00
Kerstin Humm 87124a75de
nixos/mobilizon: restart mobilizon-postgresql service on-failure
The motivation behind this is that sometimes postgresql signals
readiness to systemd, even though it doesn't accept yet connections.
2025-02-19 12:50:07 +01:00
isabel f0d623dea2
nixos/akkoma: remove IFD
Co-authored-by: Mikael Voss <mvs@nyantec.com>
2025-02-18 22:53:59 +00:00
Kerstin 4c18ccc9c4
nixos/mobilizon: update nginx config, mobilizon: fix media proxy (#374273) 2025-02-18 14:33:46 +01:00
Sandro 92dfde3dd8
nixos/mobilizon: minor format 2025-02-18 11:40:50 +01:00
Raymond Douglas e27365cf4b
netbox: add option to listen on Unix socket 2025-02-17 09:12:53 -08:00
Niklas Korz 16fda46db7 nixos/mobilizon: create launch wrapper through runCommand 2025-02-16 15:10:33 +01:00
Kerstin 20099a8e9e
nixos/weblate: improve smtp setup; make local postgresql optional; fix (#367522) 2025-02-15 17:49:21 +01:00
Marcel 5c10bbf1b2
nixos/weblate: improve smtp setup; make local postgresql optional; fix ssh 2025-02-15 14:52:22 +01:00
Maximilian Bosch 6c75214110
Merge: nixos/nextcloud: Update logreader warning description (#372187) 2025-02-14 09:45:49 +01:00
Maximilian Bosch 94307683c1
nixos/nextcloud: reword docs about logs a bit
Originally, I only wanted to remove
"The logreader application doesn't work, as it was the case before.".

But then, the rest sounded a little weird, so I reworded the paragraph a
bit more ;-)
2025-02-14 09:29:40 +01:00
Felix Bühler c501435cd7
nixos/rss-bridge: fix pool, add package, add webserver + test (#379189) 2025-02-13 19:40:23 +01:00
dish c58bf61fc2 nixos/zitadel: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 839a427725 nixos/youtrack: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish f552ef9849 nixos/stirling-pdf: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 28968693a9 nixos/slskd: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d907fcd3f1 nixos/screego: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish f40ba2f28c nixos/plausible: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 600900c77c nixos/peering-manager: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 88b108f328 nixos/outline: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish aea7a63d8f nixos/nextjs-ollama-llm-ui: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 82d4e0086f nixos/nextcloud: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish fe6a8e7b09 nixos/mattermost: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish c3abba577a nixos/mastodon: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 91283c6fe7 nixos/kimai: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 384a6720d7 nixos/invidious: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 40371dd131 nixos/gotify-server: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 16d3323694 nixos/gancio: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish be2c87eea0 nixos/flarum: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish b9203ecad9 nixos/engelsystem: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 370bb6bd60 nixos/discourse: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 79ea0ba602 nixos/dependency-track: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 9f0c8c6e9e nixos/cryptpad: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish d73589e65e nixos/changedetection-io: fix documentation link formatting 2025-02-12 21:03:21 +01:00
Jakob Schöttl 0b117a31ec bookstack: fix syntax in option example 2025-02-12 09:15:24 +01:00
Felix Buehler 3cade1b5ac nixos/rss-bridge: add webserver option
Co-authored-by: Zitrone <general@dev.quantenzitrone.eu>
2025-02-11 23:57:16 +01:00
Felix Buehler b8735ce254 nixos/rss-bridge: add package option
Co-authored-by: Zitrone <general@dev.quantenzitrone.eu>
2025-02-11 22:41:07 +01:00
Zitrone 05d63a6bd5 nixos/rss-bridge: adopt 2025-02-11 22:41:07 +01:00
Zitrone 052d936cfe nixos/rss-bridge: refactor 2025-02-11 22:41:07 +01:00
Niklas Korz 142d7c0f88 nixos/mobilizon: remove with lib; and unused rec 2025-02-08 22:17:17 +01:00
Niklas Korz 611f4847de nixos/mobilizon: update nginx config 2025-02-08 22:17:17 +01:00
Maximilian Bosch 9819723bbe
Merge: nixos/nextcloud: expose finalPackage (#376818) 2025-02-07 18:24:48 +01:00
thiloho 5f7664a53b
nixos/archtika: init module
nixos/manual: add archtika module to 25.05 release notes

nixos/archtika: fix module formatting, add description and remove trailing whitespace

nixos/archtika: refactor module

nixos/archtika: refactor module

nixos/archtika: make SystemCallFilter addition for postgres systemd service

nixos/archtika: refactor module

nixos/archtika: grant only necessary authentication permissions to archtika db
2025-02-07 04:39:59 +01:00
Felix Buehler 8688bb5ab0 nixos/nextcloud: expose finalPackage 2025-02-05 22:33:03 +01:00
Sandro c062500e08
nixos/powerdns-admin: adapt for newer flask-session (#365257) 2025-02-05 20:06:11 +01:00
Bruno BELANYI c6a9c1aefe
nixos/homebox: fix 'settings' default description (#379586) 2025-02-05 13:46:24 +00:00
Bruno BELANYI 72136fac64 nixos/homebox: fix 'settings' default description 2025-02-05 12:14:02 +00:00
Tristan Ross 5d9b653219
nixos/wakapi: fix logical error in warning; minor grammatical improvements (#375021) 2025-02-04 12:42:14 -08:00
Torsten Trautwein c397110901 nixos/immich: Add accelerationDevices configuration option
This allows immich to utilize devices for hardware accelerated video
transcoding.
2025-02-03 08:03:49 +01:00
Sandro Jäckel bbae05deac
nixos/privatebin: fix defaultText 2025-02-03 00:00:30 +01:00
Sandro e47c5369ed
nixos/nextcloud-notify_push: turn off keepalive_timeout, proxy_buffering (#364937) 2025-02-02 22:20:53 +01:00
Martin Weinelt bce9b0fde9
pretix: 2024.11.0 -> 2025.1.0
https://pretix.eu/about/en/blog/20250131-release-2025-1-0/
https://github.com/pretix/pretix/compare/refs/tags/v2024.11.0...v2025.1.0
2025-02-02 14:22:22 +01:00
Matt Christ bab9e7743c nixos/freshrss: remove unimplemented 'none' webserver option 2025-02-01 17:32:40 -06:00
Felix Bühler a3c8d04684
nixos/homer: init (#368594) 2025-01-31 22:34:36 +01:00
Robert Schütz 60c278da0b
lessc: repackage with buildNpmPackage (#323705) 2025-01-31 10:10:05 -08:00
Felix Buehler 4cff6cd191 nixos/homer: init 2025-01-30 21:58:24 +01:00
Bruno BELANYI b96538077a
nixos/homebox: disable GitHub checks (#377788) 2025-01-29 20:38:32 +00:00
Bruno BELANYI aaa2688220 nixos/homebox: fix link to documentation 2025-01-29 18:11:26 +00:00
Bruno BELANYI 74caec48d2 nixos/homebox: disable GitHub checks
Doesn't make sense to have it enabled by default on NixOS.
2025-01-29 18:10:30 +00:00
lelgenio c8a6270c96 lessc: repackage with buildNpmPackage 2025-01-28 20:12:33 -03:00
Arne Keller 68afd50b2a
nixos/calibre-web: restore compatibility with old dataDir values (#375539) 2025-01-28 14:51:02 +01:00
Weijia Wang e6b1a3bd78
nixos/pixelfed: fix typo in nginx submodule description (#377396) 2025-01-27 22:26:27 +01:00
Felix Bühler bed0e7fadc
nixos/freshrss: add caddy support (#377068) 2025-01-27 21:39:01 +01:00
Christoph Heiss 327028baa0
nixos/pixelfed: fix typo in nginx submodule description
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2025-01-27 21:33:43 +01:00
Philip Taron d9b725d0b7
nixos/*: tag manpage references (#377184) 2025-01-27 09:09:38 -08:00
Silvan Mosberger 7cceab521e
pds: init at 0.4.74, nixos/pds: init (#350645) 2025-01-27 13:54:09 +01:00
Morgan Jones 672f423d0c nixos/mattermost: default preferNixConfig to true
Now that we are disabling telemetry by default, we should attempt to
override it and other options in existing mutable configs,
if the user had a mutable config and advances their system.stateVersion.
2025-01-27 10:29:37 +01:00
Morgan Jones fc3f7c17e2 nixos/mattermost: disable telemetry by default
We should disable telemetry but enable security update checks. Make both
controlable in the module without digging into settings.

Disabling telemetry also makes NixOS tests faster because the server
tries to send telemetry on first start.
2025-01-27 10:29:37 +01:00
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Felix Buehler 88234d3a4f nixos/freshrss: add caddy support 2025-01-26 22:33:20 +01:00
Arne Keller 2ab9225a40
stash: refactor; 0.25.1 -> 0.27.2; nixos/stash: init (#323231) 2025-01-26 15:16:35 +01:00
provokateurin 9683835f04
nixos/nextcloud: Update logreader warning description
The error is only logged as an info since https://github.com/nextcloud/logreader/pull/1449.
This was a bug in the app, since the error is not fixable by the admin due to the logging configuration.
2025-01-26 13:52:03 +01:00
Weijia Wang 9d71dc7005 nixos/pixelfed: bump php version 2025-01-26 00:03:45 +01:00
Sandro a2e08fbd52
nixos/simplesamlphp: don't configure empty options (#370787) 2025-01-25 16:59:55 +01:00
DrakeTDL 8814ab8ab5
nixos/stash: init 2025-01-24 10:50:55 -08:00
t4ccer 6091da47e5
nixos/pds: init module 2025-01-23 10:26:12 -07:00
fleaz 9c0aff55a2 nixos/mediawiki: Ignore composer dependencies when calling update.php 2025-01-21 22:58:20 +01:00
FliegendeWurst d1f4d27b33 nixos/calibre-web: restore compatibility with old dataDir values 2025-01-21 14:42:58 +01:00
networkException 2ce1e84103
nixos/nextcloud: use LoadCredential to read secrets
This patch adds support for using systemd's LoadCredential
feature to read various secret files used by nextcloud service
units.

Previously credentials had to be readable by the nextcloud user,
this is now no longer required.

The nextcloud-occ wrapper script has been adjusted to use
systemd-run for loading credentials when being called from
outside a service.

In detail this change touches various details of the module:

- The nix_read_secret() php function now takes the name of a
  file relative to the path specified in the CREDENTIALS_DIRECTORY
  environment variable.
- The nix_read_secret() now exits with error code 1 instead of
  throwing a RuntimeException as this will properly error out
  the nextcloud-occ script
- Only the nextcloud-setup service unit has the adminpass credential
  added in addition to the other credentials
- Uses of ExecCondition= in nextcloud-cron and nextcloud-update-db
  have been replaced by a shell conditional as ExecCondition currently
  doesn't support credentials
- The phpfpm-nextcloud service now runs a preStart script to make
  the credentials it gets readable by the nextcloud user as the
  unit runs as root but the php process itself as nextcloud.
- To invoke occ notify_push:setup when using nextcloud notify_push
  a new service has been added that replaces the preStart script
  in nextcloud-notify_push.service. This has been done as the
  main executable only needs the database password credential.

Co-authored-by: lassulus <lassulus@lassul.us>
2025-01-21 13:13:34 +01:00
networkException e6b078981b
nixos/nextcloud: move systemd service overrides for phpfpm-nextcloud closer to phpfpm config 2025-01-21 13:13:33 +01:00
networkException 598ba3922c
nixos/nextcloud: use writeShellApplication for nextcloud-occ
This patch replaces the use of writeScriptBin for the nextcloud-occ
script with writeShellApplication, enabling shell checking.

This patch also updates various invocations of the script to
use lib.getExe.
2025-01-21 13:13:32 +01:00
Sandro 2630f1f73f
nixos/stirling-pdf: fix external dependencies and service permissions (#374225) 2025-01-21 11:17:14 +01:00
Martin Weinelt 886a2858d3
mediawiki: 1.42.4 -> 1.43.0 (#369641) 2025-01-21 03:25:11 +01:00
Martin Weinelt 19a38ac732
nixos/mediawiki: make changes for 1.43.0 2025-01-21 03:12:28 +01:00
Pol Dellaiera f2685b1e2f
pkgs/readeck + nixos/readeck: init (#370354) 2025-01-20 22:22:24 +01:00
Julien Malka 0be7395f95
nixos/readeck: init 2025-01-20 22:17:30 +01:00
Pol Dellaiera af1bc453b3
fider: init at 0.24.0 (#353346) 2025-01-20 20:19:14 +01:00
Morgan Jones f8eac009ee nixos/mattermost: modernize, support MySQL and mmctl
Based on #198040. Prioritizes backwards compatibility, including
database and plugin compatibility, while adding more sensible
defaults like database peer authentication.

Expand the scope of tests to include plugins (including building
from source) and testing that a piece of media uploads and downloads
to make sure the storage directory doesn't vanish.
2025-01-20 08:07:45 +01:00
Felix Bühler 1d8a3e9ac5
nixos/freshrss: fix empty extensions (#359991) 2025-01-19 22:56:59 +01:00
Maximilian Bosch a4afb337c3
Merge: nextcloud: remove 28, update apps (#374902) 2025-01-19 12:34:46 +01:00
Pol Dellaiera 54e48b64d1 nixos/fider: init
Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
2025-01-19 12:03:41 +01:00
NotAShelf f10143ec34
nixos/wakapi: fix logical error in warning; minor grammatical improvements 2025-01-19 13:56:20 +03:00
Maximilian Bosch 7ef73d05cd
nextcloud28: remove
This major release is dead now.
2025-01-19 00:08:35 +01:00
nixpkgs-ci[bot] 0cae90809c
Merge master into staging-next 2025-01-18 18:04:10 +00:00
DCsunset 8acf894672 nixos/stirling-pdf: fix external dependencies and service permissions 2025-01-18 00:37:35 +00:00
Anton Mosich 3252fed91a
nixos/engelsystem: fix typo in docs 2025-01-17 18:58:44 +01:00
K900 0fd5f209c1 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-17 11:30:03 +03:00
Wolfgang Walther 459db35f4a
nixos/wakapi: fix running under sqlite3; add stateDir; add sqlite test case (#370497) 2025-01-16 21:58:53 +01:00
nixpkgs-ci[bot] d4a1995529
Merge master into staging-next 2025-01-16 00:14:11 +00:00
Leona Maroni c683d968be
nixos/matomo: fix service failure when not fully set up (#373894) 2025-01-15 19:05:47 +01:00
Arne Keller 618c81f7b1
trilium-next-{desktop,server}: init at 0.90.12 (#356930) 2025-01-15 16:35:36 +01:00
Oliver Schmidt 10f670ab7e nixos/matomo: better check for database being set up
Since matomo-5.2.0, the config.php.ini is already created when first
accessing the installer page without completing it. This breaks our
discovery of whether to run database migrations.

Attempting to run DB migrations without provided database credentials
causes a crash -> causing matomo-setup-update.service to fail -> causing
phpfpm-matomo.service to fail.
2025-01-15 01:10:37 +01:00
github-actions[bot] ae7e95ed1d
Merge master into staging-next 2025-01-14 02:53:34 +00:00
Sandro a3feb24c0b
nixos/zipline: init module (#370878) 2025-01-13 19:39:57 +01:00
github-actions[bot] c67c39eb74
Merge master into staging-next 2025-01-13 18:04:50 +00:00
Ayman Bagabas e85ca75249
nixos/calibre-web: customize data directory (#350617) 2025-01-13 16:51:22 +01:00
github-actions[bot] 51d152f300
Merge master into staging-next 2025-01-13 12:06:21 +00:00
Defelo 24f222fbe0
nixos/zipline: init module 2025-01-12 22:46:02 +01:00
Defelo 6a6d7de921
nixos/echoip: init module 2025-01-12 20:45:33 +01:00
github-actions[bot] 74a6c68160
Merge master into staging-next 2025-01-12 18:04:11 +00:00
éclairevoyant 5abcff7ab1
nixos/komga: fix settings option and default
Use freeform submodule to make default visible in search and
prevent the warning about the old option format being used.
See https://github.com/NixOS/nixpkgs/pull/345594#issuecomment-2506816155
2025-01-12 10:03:33 -05:00
K900 350a060f1d Merge remote-tracking branch 'origin/master' into staging-next 2025-01-09 22:02:14 +03:00
K900 b86e4001f3 nixos/galene: use types.path for paths 2025-01-09 17:34:58 +03:00
github-actions[bot] ded5a5e552
Merge master into staging-next 2025-01-09 00:14:35 +00:00
Ratchanan Srirattanamet bd57044a60 nixos/kimai: ensure that our local.yaml is valid on init time
This is normally done by kimai:reload command (which also include cache
clearing and warming up). But because we skip that command, run config
linting ourselves.
2025-01-07 20:58:17 +00:00
Ratchanan Srirattanamet be185a3fae nixos/kimai: fix an error on first init after an upgrade
Prevent 'kimai:install' console command from both clearing and warming
cache in one go. Instead, run 'cache:clear' and 'cache:warmup'
separately. This seems fix the following error which appears on the
first init after an upgrade:

Fatal error: Cannot declare class App\Entity\Timesheet, because the name
is already in use in /nix/store/<...>/share/php/kimai/src/Entity/
Timesheet.php on line 50
23:42:49 CRITICAL  [php] Fatal Compile Error: Cannot declare class
App\Entity\Timesheet, because the name is already in use ["exception"
=> Symfony\Component\ErrorHandler\Error\FatalError { …}] ["channel" =>
"php"]
In Timesheet.php line 50:
  Compile Error: Cannot declare class App\Entity\Timesheet, because the
  name is already in use
kimai:install [--no-cache]
2025-01-07 20:55:46 +00:00
piegames dd7d5339f7 treewide: Fix incorrect string indentations 2025-01-07 19:49:28 +01:00
piegames 603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
github-actions[bot] a58f8abed0
Merge staging-next into staging 2025-01-06 00:15:41 +00:00
Christian Kögler c699985294
plantuml-server: remove unnecessary systemd option path (#309893) 2025-01-06 00:06:55 +01:00
github-actions[bot] 16abba216f
Merge staging-next into staging 2025-01-05 18:04:38 +00:00
Dominique Martinet cf498c1a61 nixos/cryptpad: fix service with nodejs 22.11
nixosTests.cryptpad started failing recently.

Investigating the issue shows that seccomp has become problematic during
the init phase, (e.g. this can be reproduced by removing the customize
directory in /var/lib/cryptpad):

machine # [   10.774365] systemd-coredump[864]: Process 756 (node) of user 65513 dumped core.
machine #
machine # Module libgcc_s.so.1 without build-id.
machine # Module libstdc++.so.6 without build-id.
machine # Module libicudata.so.74 without build-id.
machine # Module libicuuc.so.74 without build-id.
machine # Module libicui18n.so.74 without build-id.
machine # Module libz.so.1 without build-id.
machine # Module node without build-id.
machine # Stack trace of thread 756:
machine # #0  0x00007ff951974dcb fchown (libc.so.6 + 0x107dcb)
machine # #1  0x00007ff95490d0c0 uv__fs_copyfile (libuv.so.1 + 0x150c0)
machine # #2  0x00007ff95490d89a uv__fs_work (libuv.so.1 + 0x1589a)
machine # #3  0x00007ff954910c76 uv_fs_copyfile (libuv.so.1 + 0x18c76)
machine # #4  0x0000000000eb8a39 _ZN4node2fsL8CopyFileERKN2v820FunctionCallbackInfoINS1_5ValueEEE (node + 0xab8a39)
machine # #5  0x0000000001cda5e2 Builtins_CallApiCallbackGeneric (node + 0x18da5e2)
[...]
machine # [   10.877468] cryptpad[685]: /nix/store/h4yhhxpfm03c5rgz91q7jrvknh596ly2-cryptpad-2024.12.0/bin/cryptpad: line 3:   756 Bad system call         (core dumped) "/nix/store/fkyp1bm5gll9adnfcj92snyym524mdrj-nodejs-22.11.0/bin/node" "/nix/store/h4yhhxpfm03c5rgz91q7jrvknh596ly2-cryptpad-2024.12.0/lib/node_modules/cryptpad/scripts/build.js"

nodejs 20.18 rightly did not require chown when the source and
destination are the same owner (heck, the script does not run as
root so even if it is not blocked there is no way it'd work with a
different owner...)

For now just allow chown calls again, this is not worth wasting more
time.

Fixes https://github.com/NixOS/nixpkgs/issues/370717
2025-01-05 17:43:24 +09:00
Sandro Jäckel c290055571
nixos/simplesamlphp: don't configure empty options
This pollutes options. ... .definitionsWithLocations
2025-01-04 04:08:22 +01:00