From c9dc7cb477bf900808e693ea81ebc04a24297b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 17 Jan 2022 13:50:25 +0100 Subject: [PATCH] correct config option name --- config/services/gitea.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/services/gitea.nix b/config/services/gitea.nix index 40cf7bba..b64ac0de 100644 --- a/config/services/gitea.nix +++ b/config/services/gitea.nix @@ -33,9 +33,9 @@ ENABLE_OPENID_SIGNUP = true; }; cache = { - ENABLED = config.services.redis.gitea.enable; + ENABLED = config.services.redis.servers.gitea.enable; ADAPTER = "redis"; - HOST = "redis://${config.services.redis.gitea.host}:${config.services.redis.gitea.port}/0"; + HOST = "redis://${config.services.redis.servers.gitea.host}:${config.services.redis.servers.gitea.port}/0"; }; "storage.default" = storage; }; @@ -61,7 +61,7 @@ systemd.services.gitea.serviceConfig.EnvironmentFile = "/run/secrets/services/gitea"; - services.redis.gitea = { + services.redis.servers.gitea = { enable = true; bind = "127.0.0.1"; databases = 1;