diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-11-25 22:58:06 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-11-25 22:58:06 +0100 |
commit | 79e3ab84dd10e448b06f2af7a5b322c03932a9d9 (patch) | |
tree | 313cb91106f931351174e6fab7fd59637d44d104 /nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix | |
parent | b0f478b86138bf0003c126da67ddec9fed080b4f (diff) | |
download | nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar.gz nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar.bz2 nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar.lz nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar.xz nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.tar.zst nixlib-79e3ab84dd10e448b06f2af7a5b322c03932a9d9.zip |
nixos/tests/nextcloud: fix with-declarative-redis-and-secrets test
Diffstat (limited to 'nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix')
-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}) |