nixpkgs/nixos/tests/nextcloud
Maximilian Bosch 3944aa051c
nixos/nextcloud: write config to additional config file
One of the main problems of the Nextcloud module is that it's currently
not possible to alter e.g. database configuration after the initial
setup as it's written by their imperative installer to a file.

After some research[1] it turned out that it's possible to override all values
with an additional config file. The documentation has been
slightly updated to remain up-to-date, but the warnings should
remain there as the imperative configuration is still used and may cause
unwanted side-effects.

Also simplified the postgresql test which uses `ensure{Databases,Users}` to
configure the database.

Fixes #49783

[1] https://github.com/NixOS/nixpkgs/issues/49783#issuecomment-483063922
2019-07-22 18:29:52 +02:00
..
basic.nix nixos/nextcloud: Add options services.nextcloud.autoUpdateApps 2019-05-21 13:24:23 +02:00
default.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
with-mysql-and-memcached.nix
with-postgresql-and-redis.nix nixos/nextcloud: write config to additional config file 2019-07-22 18:29:52 +02:00