nixpkgs/nixos/modules/services
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
..
admin
amqp treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
audio nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
backup nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
cluster The systemd unit for k3s should differ between agents and servers 2020-04-23 07:55:23 +02:00
computing nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
continuous-integration nixos/gitlab-runner: add clone-url option (#93894) 2020-07-30 10:24:33 +02:00
databases nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
desktops Merge pull request #93771 from jtojnar/flatpak-1.8 2020-07-26 13:56:16 +02:00
development pythonPackages.systemdspawner: init at 0.14 2020-08-10 10:03:43 -07:00
editors treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
games nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
hardware nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
logging nixos/logrotate: add newline before extraConfig 2020-05-13 20:52:26 -07:00
mail nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
misc Merge pull request #94291 from Izorkin/gitea 2020-08-12 12:23:05 +01:00
monitoring nixos/netadata: enable simple sandboxing 2020-08-09 10:19:30 +03:00
network-filesystems nixos/ipfs: add QUIC transport to swarmAddress list 2020-08-08 23:08:56 +02:00
networking nixos/corerad: use SIGHUP to restart the service 2020-08-09 16:15:49 -07:00
printing nixos/printing: make access to web-interface configurable 2020-04-25 19:48:34 +02:00
scheduling atd: systemd-udev-settle serves no purpose 2020-03-21 11:15:06 +08:00
search
security nixos/usbguard: rework 2020-08-08 23:26:07 +02:00
system cgmanager: remove 2020-06-05 09:47:12 +01:00
torrent transmission: apply RFC0042 and harden the service 2020-08-07 04:28:11 +02:00
ttys
video video/mirakurun: add module 2020-08-11 13:52:17 +09:00
wayland nixos/cage: move ConditionPathExists to service config 2020-03-09 00:47:49 +01:00
web-apps Revert "nextcloud: use mkDefault for whole nginx config" 2020-08-12 18:28:45 +02:00
web-servers nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
x11 nixos/urserver: init 2020-08-09 12:33:37 -07:00