blob: e467db5cb0c2c806e4b4d56d0904a9a2e9ee5187 [file] [log] [blame]
Skyler Grey0cebca02024-04-18 10:43:34 +00001{ config, ... }: {
2 services.redis.servers."transplace-logger" = {
3 enable = true;
4
5 openFirewall = true;
6
7 bind = "0.0.0.0";
8 port = 6379;
9
10 requirePassFile = config.sops.secrets.transplace_logger_redis_password.path;
11 };
12
13 sops.secrets.transplace_logger_redis_password = {
14 mode = "0600";
15 owner = config.users.users.root.name;
16 group = config.users.users.root.group;
17 sopsFile = ../../secrets/transplace-logger.json;
18 format = "json";
19 };
20}