nixpkgs/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 nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
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 nixos: fix typos 2023-05-19 22:31:04 -04:00
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/manual: render html with nixos-render-doc if !allowDocBook 2023-02-21 18:26:41 +01:00
nixos-options.md nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
preface.md manual: fix matrix room link (#231523) 2023-05-12 18:55:19 -04:00
README.md
shell.nix nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00