blob: e467db5cb0c2c806e4b4d56d0904a9a2e9ee5187 [file] [log] [blame]
{ config, ... }: {
services.redis.servers."transplace-logger" = {
enable = true;
openFirewall = true;
bind = "0.0.0.0";
port = 6379;
requirePassFile = config.sops.secrets.transplace_logger_redis_password.path;
};
sops.secrets.transplace_logger_redis_password = {
mode = "0600";
owner = config.users.users.root.name;
group = config.users.users.root.group;
sopsFile = ../../secrets/transplace-logger.json;
format = "json";
};
}