nixpkgs-suyu/nixos/doc/manual
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
..
administration
configuration nixos/manual: rename references to services.udev.initrdRules 2023-06-27 14:36:49 +02:00
development integration test driver: Auto-generate integration test driver's machine 2023-07-10 08:51:52 +02:00
installation Merge pull request #232491 from 6t8k/20230517_nixos_manual_installing_partitioning 2023-07-26 15:12:51 +02:00
manpages
release-notes nixos/nextcloud: make php settings additive 2023-08-05 11:58:11 +02:00
common.nix nixos manual: extract some build paths 2023-07-25 17:03:12 +07:00
contributing-to-this-manual.chapter.md nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00
default.nix nixos manual: extract some build paths 2023-07-25 17:03:12 +07:00
manual.md
nixos-options.md
preface.md
README.md
shell.nix nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00