nixpkgs/nixos/modules/services/web-apps
Maximilian Bosch 2ddb1453e6
nixos/nextcloud: make php settings additive
Right now, the settings aren't additive which means that when I do

    services.nextcloud.phpOptions."opcache.interned_strings_buffer = "23";

all other options are discarded because of how the module system works.

This isn't very nice in this case, though because wanting to override
a single option doesn't mean I want to discard the rest of the -
reasonable - defaults. Hence, the settings are showed as default in the
option's manual section, but are added with normal priority.

That means, to override _all_ options at once, an expression like

    services.nextcloud.phpOptions = mkForce {
      /* ... */
    };

is needed. This is also way more intuitive IMHO because the `mkForce`
explicitly tells that everything will be modified.

Also, APCu enable and the memory & file-size limits are also written
into `services.nextcloud.phpOptions` rather than adding them
silently before passing all options to the PHP package. This has the
benefit that users will realize on evaluation time that they configured
options that would otherwise be set by the module on its own.
2023-08-05 11:58:11 +02:00
..
atlassian
icingaweb2
kasmweb kasmweb: init at 1.12.0 2023-01-09 07:19:54 +02:00
akkoma.md nixos/manual: fix manpage links 2023-02-21 18:26:39 +01:00
akkoma.nix pleroma-fe: Rename to akkoma-fe 2023-02-14 20:05:08 +01:00
alps.nix nixos/alps: fix embarrasing typo 2023-02-22 20:41:17 +01:00
anuko-time-tracker.nix nixos/anuko-time-tracker: improve module options 2023-07-03 08:39:17 +02:00
bookstack.nix nixos: fix typos 2022-12-17 19:31:14 -05:00
calibre-web.nix
changedetection-io.nix changedetection-io: remove podman.defaultNetwork.dnsname.enable 2023-01-11 00:32:59 +01:00
chatgpt-retrieval-plugin.nix chatgpt-retrieval-plugin: init module 2023-04-02 09:26:35 -04:00
cloudlog.nix cloudlog: pin php version 2023-07-20 09:24:47 +01:00
code-server.nix code-server: add vscode-with-extensions compatibility 2023-06-17 23:14:50 +02:00
coder.nix nixos/coder: init module 2023-02-06 13:15:00 +01:00
convos.nix
dex.nix treewide: use optional instead of 'then []' 2023-06-25 09:11:40 -03:00
discourse.md nixos/discourse: convert manual chapter to MD 2023-01-10 10:31:57 +01:00
discourse.nix discourse: 3.1.0.beta2 -> 3.1.0.beta4 2023-04-28 12:14:58 +02:00
documize.nix
dokuwiki.nix php: drop PHP 8.0 2023-06-21 22:09:16 +02:00
dolibarr.nix Merge pull request #219747 from Stunkymonkey/deprecate-isNull 2023-03-16 11:10:22 -03:00
engelsystem.nix nixos/engelsystem: pin php at 8.1 2023-07-18 18:34:58 +02:00
ethercalc.nix
fluidd.nix
freshrss.nix nixos/freshrss: authType option 2023-07-19 19:43:55 -05:00
galene.nix nixos/*: remove trailing period in mkEnableOptions 2023-02-08 15:23:34 +01:00
gerrit.nix
gotify-server.nix
gotosocial.md nixos/gotosocial: init 2023-06-05 09:07:34 +03:00
gotosocial.nix nixos/gotosocial: init 2023-06-05 09:07:34 +03:00
grocy.md nixos/grocy: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
grocy.nix grocy: mark as broken 2023-05-16 19:13:00 +02:00
guacamole-client.nix nixos/guacamole-client: init 2023-06-21 20:47:31 +02:00
guacamole-server.nix nixos/guacamole-server: init 2023-06-21 22:11:44 +02:00
healthchecks.nix nixos: fix typos 2022-12-17 19:31:14 -05:00
hedgedoc.nix hedgedoc: remove top level with lib; 2023-08-01 16:01:02 +02:00
hledger-web.nix nixos/*: remove trailing period in mkEnableOptions 2023-02-08 15:23:34 +01:00
invidious.nix treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
invoiceplane.nix treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
isso.nix
jirafeau.nix nixos/*: remove trailing period in mkEnableOptions 2023-02-08 15:23:34 +01:00
jitsi-meet.md nixos/jitsi-meet: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
jitsi-meet.nix nixos/jicofo: fix after update 2023-02-01 16:32:23 +01:00
kavita.nix nixos: fix typos 2023-05-19 22:31:04 -04:00
keycloak.md nixos/keycloak: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
keycloak.nix nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
komga.nix
lemmy.md
lemmy.nix nixos/lemmy: limit impurity by secrets 2023-07-28 07:49:27 +00:00
limesurvey.nix limesurvey: mark as broken 2023-05-16 19:18:22 +02:00
mainsail.nix nixos/mainsail: init 2023-05-07 01:41:03 -04:00
mastodon.nix treewide: use optional instead of 'then []' 2023-06-25 09:11:40 -03:00
matomo.md nixos/matomo: fix typo 2023-05-09 18:02:17 +04:00
matomo.nix nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
mattermost.nix treewide: use use lib.optionalAttrs instead of 'then {}' 2023-06-06 22:54:31 +02:00
mediawiki.nix mediawiki: fix group used when apache2 is used 2023-06-07 17:31:44 +02:00
miniflux.nix nixos/miniflux: add apparmor policy 2023-07-13 11:10:39 +02:00
monica.nix nixos: fix typos 2023-05-19 22:31:04 -04:00
moodle.nix nixos/moodle: use PHP 8.1 2023-04-03 18:14:09 +02:00
netbox.nix nixos/netbox: make systemd units more consistent with upstream 2023-06-06 14:53:08 +02:00
nextcloud-notify_push.nix nixos: fix typos 2023-05-19 22:31:04 -04:00
nextcloud.md nextcloud27: init 2023-06-16 14:11:38 +02:00
nextcloud.nix nixos/nextcloud: make php settings additive 2023-08-05 11:58:11 +02:00
nexus.nix nixos/nexus: use mkPackageOption, cleanup 2023-07-19 13:13:28 +02:00
nifi.nix treewide: use optional instead of 'then []' 2023-06-25 09:11:40 -03:00
node-red.nix
onlyoffice.nix Merge pull request #215407 from aopom/onlyoffice-mergeable-execstartpre 2023-02-17 13:37:39 +01:00
openvscode-server.nix nixos/modules/openvscode-server: fix options 2023-06-13 15:08:56 +02:00
openwebrx.nix
outline.nix outline: 0.69.2 -> 0.70.2 2023-07-12 09:54:57 +02:00
peering-manager.nix nixos/peering-manager: remove global 'with lib;' 2023-07-12 18:39:55 +02:00
peertube.nix Merge pull request #239624 from Stunkymonkey/use-optionalString-then 2023-07-22 13:02:47 +02:00
pgpkeyserver-lite.nix nixos/pgpkeyserver-lite: fix typo 2022-12-18 11:35:23 -05:00
photoprism.nix nixos/photoprism: init module 2023-01-15 18:02:43 +01:00
phylactery.nix
pict-rs.md nixos/manual: regenerate chapter xml files 2023-01-10 10:31:59 +01:00
pict-rs.nix nixos/pict-rs: Use pict-rs-0.3 for NixOS <= 23.05 2023-07-14 17:46:26 +12:00
pixelfed.nix Merge pull request #238307 from pacien/pixelfed-update 2023-06-27 09:55:06 +02:00
plantuml-server.nix
plausible.md nixos/plausible: convert manual chapter to MD 2023-01-10 10:31:58 +01:00
plausible.nix plausible: fix admin user password seed and SMTP passwords 2023-07-02 17:03:53 +02:00
powerdns-admin.nix powerdns-admin: 0.3.0 -> 0.4.1 2023-05-22 00:39:58 +02:00
prosody-filer.nix
restya-board.nix treewide: use lib.optional instead of 'then []' 2023-07-12 09:36:28 +01:00
rss-bridge.nix
selfoss.nix
sftpgo.nix nixos/sftpgo: init 2023-05-25 22:46:15 +02:00
shiori.nix
slskd.nix slskd: init module (#233648) 2023-07-17 18:40:54 +02:00
snipe-it.nix nixos/snipe-it: Use the pinned PHP package 2023-07-05 14:47:05 +02:00
sogo.nix nixos/sogo: fix nginx proxy_buffer config 2023-05-01 13:04:10 +02:00
trilium.nix
tt-rss.nix tt-rss: unstable-2022-10-15 -> unstable-2023-04-13, module use PHP 8.1 2023-04-27 11:46:38 +02:00
vikunja.nix nixos/vikunja: add 'port' option 2023-05-13 18:01:36 +01:00
whitebophir.nix
wiki-js.nix wiki-js: use nodejs18 2023-05-14 14:25:33 +02:00
wordpress.nix nixos/wordpress: ensure default sites includes a theme 2023-01-28 10:31:56 +00:00
writefreely.nix treewide: deprecate isNull 2023-03-06 22:40:04 +01:00
youtrack.nix
zabbix.nix