nixpkgs-suyu/nixos/doc/manual/release-notes
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
..
release-notes.md
rl-1310.section.md
rl-1404.section.md
rl-1412.section.md
rl-1509.section.md
rl-1603.section.md
rl-1609.section.md
rl-1703.section.md
rl-1709.section.md
rl-1803.section.md
rl-1809.section.md
rl-1903.section.md
rl-1909.section.md
rl-2003.section.md
rl-2009.section.md
rl-2105.section.md
rl-2111.section.md redis: use system jemalloc (#243398) 2023-07-15 13:02:13 -05:00
rl-2205.section.md
rl-2211.section.md
rl-2305.section.md nixos/evdevremapkeys: init 2023-07-19 23:06:31 -04:00
rl-2311.section.md nixos/nextcloud: make php settings additive 2023-08-05 11:58:11 +02:00