diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-11-25 22:58:06 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-29 06:11:11 +0000 |
| commit | 50740a4dae266a282b55e0c29f2f7d9b63692128 (patch) | |
| tree | 63acf87d76800fabac366f1fbdb310a4356bd496 | |
| parent | nextcloud27Packages: regen (diff) | |
| download | nixpkgs-origin/backport-269527-to-release-23.11.tar.gz | |
nixos/tests/nextcloud: fix with-declarative-redis-and-secrets testorigin/backport-269527-to-release-23.11
(cherry picked from commit 79e3ab84dd10e448b06f2af7a5b322c03932a9d9)
| -rw-r--r-- | nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix b/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix index e638f2e5b861..addc898bd760 100644 --- a/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix +++ b/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix @@ -41,10 +41,13 @@ in { }; secretFile = "/etc/nextcloud-secrets.json"; - extraOptions.redis = { - dbindex = 0; - timeout = 1.5; - # password handled via secretfile below + extraOptions = { + allow_local_remote_servers = true; + redis = { + dbindex = 0; + timeout = 1.5; + # password handled via secretfile below + }; }; configureRedis = true; }; @@ -62,6 +65,7 @@ in { services.postgresql = { enable = true; + package = pkgs.postgresql_14; }; systemd.services.postgresql.postStart = pkgs.lib.mkAfter '' password=$(cat ${passFile}) |
