snowflake/hosts/arashi/services/redis.nix
notohh f2ecb28c8d
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
redis: reduce dbs
2024-08-10 17:07:15 -04:00

56 lines
1.2 KiB
Nix

{pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump];
services.redis = {
package = pkgs.valkey;
servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = null;
databases = 1;
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
};
searxng = {
enable = true;
openFirewall = true;
port = 6380;
bind = null;
databases = 1;
logLevel = "debug";
requirePass = "searxng";
settings = {
protected-mode = "no";
};
};
blocky = {
enable = true;
openFirewall = true;
port = 6381;
bind = null;
databases = 1;
logLevel = "debug";
requirePass = "blocky";
settings = {
protected-mode = "no";
};
};
paperless-ngx = {
enable = true;
openFirewall = true;
port = 6382;
bind = null;
databases = 1;
logLevel = "debug";
requirePass = "paperless-ngx";
settings = {
protected-mode = "no";
};
};
};
};
}