nixpkgs/nixos/modules/services
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
..
admin
amqp nixos/activemq: deprecate phases 2023-01-12 23:03:06 +01:00
audio treewide: reduce packages I maintainer 2023-07-23 19:30:22 +02:00
backup Merge pull request #244467 from wamserma/tarsnap-add-package-option 2023-07-24 00:46:24 +02:00
blockchain/ethereum treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
cluster nixos/patroni: use Python 3.10 2023-07-14 18:20:14 -07:00
computing nixos/boinc: add boinc-headless example to package option 2023-07-18 21:47:12 +01:00
continuous-integration Merge pull request #239624 from Stunkymonkey/use-optionalString-then 2023-07-22 13:02:47 +02:00
databases services.postgresql: fix example 2023-07-27 11:35:55 -05:00
desktops nixos: fix typos 2023-05-19 22:31:04 -04:00
development zammad: link test in passthru.tests 2023-05-17 16:06:50 +02:00
display-managers
editors nixos/emacs: don't set EDITOR to store path 2023-07-26 00:52:03 +02:00
finance
games nixos/mchprs: init module 2023-07-02 23:59:59 +00:00
hardware udisks2: fix conf file loading warnings 2023-07-24 11:41:50 +08:00
home-automation nixos/home-assistant: allow bluetooth for gardena_bluetooth component 2023-08-02 22:42:50 +02:00
logging Merge pull request #197524 from f2k1de/graylog4 2023-05-15 19:42:04 +03:00
mail nixos/nullmailer: allow users in the nullmailer group to send mails 2023-07-13 17:02:19 +02:00
matrix matrix-appservice-irc: 0.38.0 -> 1.0.1 2023-07-31 11:19:42 +02:00
misc Merge pull request #241497 from bendlas/prepare-gitea-120 2023-08-04 18:50:09 +02:00
monitoring Merge pull request #233659 from seberm/prometheus-ipmi-exporter-family-restriction 2023-07-31 13:57:15 +02:00
network-filesystems nixos/samba-wsdd: add openFirewall option 2023-07-17 10:22:43 -04:00
networking Merge pull request #242538 from tnias/fix/apparmor 2023-08-04 13:05:52 +02:00
printing cups: add xdg-open as dependency package as substitution does not work 2023-07-13 15:37:00 +02:00
scheduling treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
search nixos/typesense: init at 0.24.1 2023-07-22 16:38:13 +02:00
security kanidm: 1.1.0-alpha.12 -> 1.1.0-beta.13 2023-08-01 17:13:58 +02:00
system nixos/nix-daemon: change regular if to mkIf 2023-07-23 04:16:04 +03:00
torrent nixos/deluge: fix typo 2023-05-09 18:02:17 +04:00
tracing
ttys treewide: rename fonts.fonts to fonts.packages 2023-07-24 17:34:39 +02:00
video nixos/frigate: fix recording and serving of clips/recordings 2023-07-27 18:36:25 +02:00
wayland nixos/cage: add environment config 2023-05-28 23:36:22 +02:00
web-apps nixos/nextcloud: make php settings additive 2023-08-05 11:58:11 +02:00
web-servers nixos/nginx: using new variant of http2 directive 2023-08-03 07:09:02 +03:00
x11 Merge pull request #245481 from bobby285271/upd/pantheon 2023-07-27 16:04:25 +08:00