nixpkgs/nixos/modules
Maximilian Bosch fddeb7cb73
Revert "nextcloud: use mkDefault for whole nginx config"
This breaks the Nextcloud vhost declaration when adding e.g. another
vhost as the `services.nginx.virtualHosts` option has `{ nextcloud =
...; }` as *default* value which will be replaced by another
`virtualHosts`-declaration with a higher (e.g. the default) priority.

The following cases are now supported & covered by the module:

* `nginx` is enabled with `nextcloud` enabled and other vhosts can be
  added / other options can be declared without having to care
  about the declaration's priority.

* Settings in the `nextcloud`-vhost in `nginx` have to be altered using
  `mkForce` as this is the only way how we officially support `nginx`
  for `nextcloud` and customizations have to be done explicitly using
  `mkForce`.

* `nginx` will be completely omitted if a user enables nextcloud
  and disables nginx using `services.nginx.enable = false;`. (because
  nginx will be enabled by this module using `mkDefault`).

This reverts commit 128dbb31cc.
Closes #95259
2020-08-12 18:28:45 +02:00
..
config nixos/fontconfig: stop generating fontconfig_210 config and cache 2020-08-12 13:40:45 +02:00
hardware nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
i18n/input-method nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
installer nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
misc nixos/zigbee2mqtt: init 2020-07-20 21:48:14 +02:00
profiles nixos/displayManager: make autoLogin options independent of DM type 2020-07-09 21:15:35 -04:00
programs nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
security pam_p11: add 2020-07-25 09:37:48 +02:00
services Revert "nextcloud: use mkDefault for whole nginx config" 2020-08-12 18:28:45 +02:00
system nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
tasks nixos/networking: Enhance hostId description (#94800) 2020-08-08 20:30:50 +01:00
testing nixos/service-runner.nix: Allow quotes in commands + test 2020-02-28 14:26:29 +01:00
virtualisation nixos/railcar: fix typo 2020-08-07 18:00:28 +02:00
module-list.nix Merge pull request #48740 from midchildan/add-mirakurun 2020-08-11 06:55:56 +02:00
rename.nix nixos/displayManager: make autoLogin options independent of DM type 2020-07-09 21:15:35 -04:00