nixpkgs/nixos/modules
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
..
config nixos/qt: install qt6gtk2 when using gtk2 2023-07-27 15:39:30 -03:00
hardware Merge pull request #244572 from MinerSebas/usb-modeswitch-module-rename 2023-07-25 19:24:14 -06:00
i18n/input-method nixos/fcitx5: add quickPhrase 2023-07-29 00:54:25 +08:00
image nixos/image: use stable target dir for amended repart definitions 2023-08-03 11:46:35 +02:00
installer Merge pull request #246746 from mode89/fix/nixos-install-with-non-empty-mnt 2023-08-02 18:41:46 +02:00
misc Merge pull request #241462 from SuperSandro2000/remove-ddclient 2023-07-08 14:33:00 +02:00
profiles linux-builder: fix eval failure 2023-07-23 18:07:48 +10:00
programs Merge pull request #246386 from hercules-ci/lib-getExe-dont-make-name-assumption 2023-08-02 20:05:52 +02:00
security Merge pull request #242538 from tnias/fix/apparmor 2023-08-04 13:05:52 +02:00
services nixos/nextcloud: make php settings additive 2023-08-05 11:58:11 +02:00
system nixos/boot/initrd-network: add option to enable udhcpc (#240406) 2023-07-31 16:08:56 +02:00
tasks zfs: 'want', don't 'require', systemd-udev-settle 2023-07-28 16:57:12 +10:00
testing Merge pull request #219106 from m-bdf/nixos-testing-increase-device-timeout 2023-06-20 11:48:45 +02:00
virtualisation revert(proxmox-image): pull request #246120 from jakeschurch/add-proxmox-image-addl-disk-size-override 2023-08-02 15:01:44 -04:00
module-list.nix Merge pull request #224635 from helsinki-systems/drop/dhcpd 2023-08-03 15:12:06 +02:00
rename.nix nixos/dhcp(46): remove 2023-07-28 16:35:40 +02:00