diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2022-09-10 15:29:09 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-09-10 23:53:40 +0200 |
commit | f72099e0cdcd90462ac92bb7d9590bf25a67c1fd (patch) | |
tree | b8399dafeb096ec03701fc5bf990dae372b2c202 /nixos | |
parent | 958914fab2e9754b8e17147457515f73a7d8c287 (diff) |
nixos/nextcloud: fix a deprecation warning in the tests using redis
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix | 5 | ||||
-rw-r--r-- | nixos/tests/nextcloud/with-postgresql-and-redis.nix | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix b/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix index fda05bacb4fe4..93e655c3056be 100644 --- a/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix +++ b/nixos/tests/nextcloud/with-declarative-redis-and-secrets.nix @@ -47,9 +47,8 @@ in { }; }; - services.redis = { - enable = true; - }; + services.redis.servers."nextcloud".enable = true; + services.redis.servers."nextcloud".port = 6379; systemd.services.nextcloud-setup= { requires = ["postgresql.service"]; diff --git a/nixos/tests/nextcloud/with-postgresql-and-redis.nix b/nixos/tests/nextcloud/with-postgresql-and-redis.nix index 36a69fda505ba..1ef848cfb1217 100644 --- a/nixos/tests/nextcloud/with-postgresql-and-redis.nix +++ b/nixos/tests/nextcloud/with-postgresql-and-redis.nix @@ -37,9 +37,8 @@ in { }; }; - services.redis = { - enable = true; - }; + services.redis.servers."nextcloud".enable = true; + services.redis.servers."nextcloud".port = 6379; systemd.services.nextcloud-setup= { requires = ["postgresql.service"]; |