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. |
||
---|---|---|
.. | ||
doc/manual | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release-small.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.