Commit Graph

2227 Commits

Author SHA1 Message Date
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
Maximilian Bosch
f20b220e17 Merge: nixos/nextcloud: add maintainer team, update docs about maintainership of apps (#393069) 2025-04-01 11:25:28 +02:00
Robert Hensing
e12690d530 nixos/movim: Fix accidental append to module system property 2025-03-31 12:24:22 +02:00
Maximilian Bosch
97d215cf17 Merge: php: 8.3 -> 8.4 (#394112) 2025-03-30 22:54:31 +02:00
Jonas Heinrich
8d69e1faae nixos/wordpress: Use https by default for caddy (#375375) 2025-03-30 10:31:52 +02:00
Maximilian Bosch
65121c9333 Merge: nextcloud-occ: work with sudo disabled (#380211) 2025-03-29 23:25:45 +01:00
Daniel Xu
f1c4d339a5 nixos/wordpress: Use https by default for caddy
Previously, `http://` scheme was hard coded into the caddy config if
`webserver = "caddy"` was chosen. This is fine for local testing, but is
problematic if you want your nixos host to be public facing.

In the public facing case, you generally want to be using TLS. But since
the wordpress module generates the caddyfile rule, the user's nixos
config cannot easily change it to also allow https.

An alternative would be to reverse proxy an https rule to the generated
http rule, but that's somewhat questionable as there's not an internal
http endpoint to proxy to. It might be possible but I couldn't figure
it out.

So simplify by omitting the scheme. This causes caddy to use https by
default and 301 redirect any http requests to the https endpoint. Caddy
will just do the right thing if it's being hosted on a local/internal
hostname (self sign certificates).

This should be backwards compatible with previous default if users are
using reasonable browsers/tools.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
2025-03-29 15:10:35 -06:00
Bruno BELANYI
8fb60c58dd calibre-web: fix ebook conversion missing config_binariesdir setting (#366642) 2025-03-29 20:08:35 +00:00
Pol Dellaiera
0ef31de6ea monica: pin php version to 8.3 (#394415) 2025-03-29 20:12:16 +01:00
Pol Dellaiera
f79c218ea5 icingaweb2: pin php version to 8.3 (#394399) 2025-03-29 20:11:29 +01:00
Maximilian Bosch
b88fdf622c Merge: nixos/dolibarr: pin php version (to 8.3) (#394153) 2025-03-29 20:11:04 +01:00
Pol Dellaiera
6945312759 agorakit: pin php version to 8.2 (#394410) 2025-03-29 20:10:33 +01:00
Piotr Kwiecinski
69c26f338b monica: pin php version to 8.3 2025-03-29 20:07:31 +01:00
Piotr Kwiecinski
ab3b601d88 rutorrent: pin php version to 8.2 2025-03-29 20:00:27 +01:00
Piotr Kwiecinski
bafb6848e7 agorakit: pin php version to 8.2 2025-03-29 19:44:20 +01:00
Piotr Kwiecinski
15d0312a8a icingaweb2: pin php version to 8.3 2025-03-29 19:25:44 +01:00
Gaetan Lepage
605ed28375 nixos/dolibarr: pin php version (to 8.3) 2025-03-29 13:32:10 +01:00
Maximilian Bosch
90a0f3874f nixos/selfoss: pin to php83
https://github.com/NixOS/nixpkgs/pull/394112#pullrequestreview-2726857849
2025-03-28 22:46:39 +01:00
Maximilian Bosch
43fd8c10aa Merge: nixos/nextcloud-notify_push: add nextcloud-setup (#392226) 2025-03-28 17:29:13 +01:00
lassulus
3e7ce75dc1 jitsi-meet and prosody Added ownerallowkick patch and all_owners module (#155755) 2025-03-27 16:18:08 -07:00
Peder Bergebakken Sundt
a41310e269 nixos/code-server: recommend libargon2 over npx argon2-cli (#388640) 2025-03-27 01:19:37 +01:00
Peder Bergebakken Sundt
facba1f63a nixos/code-server: recommend libargon2 over npx argon2-cli 2025-03-26 23:09:55 +01:00
Jonas Heinrich
5325034183 froide-govplan: init at 0-unstable-2025-01-27 (#349750) 2025-03-26 14:27:02 +01:00
Marcel Novotny
2411e6eecd Added Allowners muc module to prosody and jitsi-meet 2025-03-25 23:17:58 +01:00
Dominique Martinet
fb5e34fb39 nixos/cryptpad: fix service with nodejs 22.11 (for real)
The previous fix had only been tested locally through a runtime edit of
the service, and the order in which @chown had been re-added was
different so commit cf498c1a61 ("nixos/cryptpad: fix service with
nodejs 22.11") did not actually fix the issue.

This properly orders @chown after @privileged so the rule is respected,
and also properly denies with EPERM instead of allowing the chown family
of syscalls: this will properly prevent seccomp from killing nodejs
while still disallowing fchown()

Fixes https://github.com/NixOS/nixpkgs/issues/370717
2025-03-25 13:37:25 +00:00
Maximilian Bosch
773094b49c nixos/nextcloud: clarify support status of apps in the manual
Realized that this is something, I discussed with Benedikt, but wasn't
written down somewhere.
2025-03-25 12:41:30 +00:00
Maximilian Bosch
d3110c9532 nextcloud: update maintainer information
* Create a dedicated team. Before, information was inconsistent between
  e.g. tests and package, module had none at all.
* Add maintainership from us to all trivially packaged apps. This is
  only to make sure that we take care of them building and installing
  and that's about it.
2025-03-25 12:41:18 +00:00
Maximilian Bosch
1fcfb2dcea Merge: nixos/nextcloud: Also install when config.php exists but is empty (#391375) 2025-03-25 10:43:41 +00:00
Jonas Heinrich
46e424a858 nixos/dokuwiki: Remove unused enable option (#391057) 2025-03-24 10:30:51 +01:00
Robert Helgesson
ee04cf23b6 nixos/grav: clean up PHP extensions
Specifically, simply add the extensions that are not already part of
the default `enabled` set.
2025-03-24 10:09:27 +01:00
Jonas Heinrich
82a382ed09 nixos/keycloak: add realmFiles option (#273833) 2025-03-24 09:35:04 +01:00
Weijia Wang
367cbed935 nixos/kimai: ensure that our local.yaml is valid on init time (#371919) 2025-03-23 20:23:59 +01:00
Weijia Wang
86e6f70e1d nixos/kimai: fix an error on first init after an upgrade (#371917) 2025-03-23 20:23:44 +01:00
Jonas Heinrich
4a8b7bb45d nixos/froide-govplan: init 2025-03-23 18:05:54 +01:00
Sandro Jäckel
72b9742768 nixos/nextcloud-notify_push: add nextcloud-setup
without it notify might start to early and then fail 5 times before
nextcloud is even ready.
2025-03-23 00:27:09 +01:00
hot burger
2dad835033 nextcloud-occ: work with sudo disabled 2025-03-22 15:11:17 -07:00
provokateurin
34da0bd4fc nixos/nextcloud: Also install when config.php exists but is empty
Running any occ command will create an empty config file automatically: f85154f1e1/lib/base.php (L194-L196)
This causes the current check to never execute the installation, in case any occ command was run before it (which itself fails because Nextcloud is not installled yet).
So any services which don't properly depend on nextcloud-setup.service cause Nextcloud to never be installed.
2025-03-21 14:51:30 +01:00
Sandro
9f2544d0ea nixos/wakapi: harden systemd service (#389534) 2025-03-20 17:48:34 +01:00
Kerstin
72cda846bf nixos/mobilizon: create sitemap directory (#391389) 2025-03-20 14:35:36 +01:00
Robert Rose
cd10f9a874 nixos/keycloak: add realmFiles option
Add an option to import Keycloak realms during
startup from exported realm files.
2025-03-20 12:07:38 +01:00
Sandro Jäckel
c317d5e222 nixos/mobilizon: create sitemap directory
Mar 19 21:35:05 mobilizon mobilizon[1324]: 21:35:05.504 [info] {"args":{},"attempt":19,"duration":130905,"error":"** (File.Error) could not write to file \"/var/lib/mobilizon/sitemap/sitemap-00001.xml\": no such file or directory","event":"job:exception","id":178203,"max_attempts":20,"meta":{},"queue":"background","queue_time":510620016,"source":"oban","state":"failure","tags":[],"worker":"Mobilizon.Service.Workers.BuildSiteMap"}
2025-03-19 22:52:48 +01:00
Sandro
ddef00d3f0 nixos/zipline: improve systemd hardening (#387119) 2025-03-19 19:01:37 +01:00
Sandro
1289c91409 nixos/echoip: improve systemd hardening (#387466) 2025-03-19 19:00:27 +01:00
Defelo
ef19fcf725 nixos/zipline: improve systemd hardening 2025-03-19 18:16:01 +01:00
e1mo
100559d83c nixos/dokuwiki: Remove unused enable option
The option has been added in 50029ed89c
but never had any effect. As far as I could tell, it was only added for
backward compatibility. I think it's safe to remove this after 3+ years.

I opted for removal instead of implementing it since the module will
just do nothing if no site is configure, thus no enable / disable switch
is needed. Especially on a per-site level.
2025-03-18 20:36:09 +01:00
Sandro
326cd70480 nixos/movim: improve systemd dependency directives (#388750) 2025-03-18 17:42:52 +01:00
Pol Dellaiera
ad9f51048b nixos/flarum: restart on package update (#389453) 2025-03-16 07:28:51 +01:00
Pol Dellaiera
b29c5b7119 treewide: add documentation for nixos systemd units (#389283) 2025-03-15 21:30:08 +01:00
jrdsgl
38590f303b nixos/changedetection-io: fix typo (#383539)
Update changedetection-io.nix

typo correction variables
2025-03-15 10:59:05 +01:00
โทสฺตัล
521d3689fb nixos/movim: move phpExecutionUnit service in requires order 2025-03-15 16:25:53 +07:00