correct config option name

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-17 13:50:25 +01:00
parent e4f1a1a40b
commit c9dc7cb477
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -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;