snowflake/hosts/arashi/services/redis.nix
notohh 005f45bfab
All checks were successful
/ check (push) Successful in 58s
redis: fix binding
2023-10-07 21:59:24 -04:00

17 lines
348 B
Nix

{pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump];
services.redis.servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
};
};
}