snowflake/hosts/arashi/services/redis.nix

30 lines
595 B
Nix
Raw Normal View History

2023-10-07 21:59:24 -04:00
{pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump];
2023-10-07 20:42:30 -04:00
services.redis.servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
2023-10-07 21:59:24 -04:00
bind = null;
2023-10-07 20:42:30 -04:00
databases = 16;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
};
2023-10-10 15:42:36 -04:00
searxng = {
enable = true;
openFirewall = true;
port = 6380;
bind = null;
databases = 16;
logLevel = "debug";
requirePass = "searxng";
settings = {
protected-mode = "no";
};
};
2023-06-18 17:44:35 -04:00
};
}