snowflake/hosts/arashi/services/redis.nix

57 lines
1.2 KiB
Nix
Raw Normal View History

2023-10-07 21:59:24 -04:00
{pkgs, ...}: {
environment.systemPackages = [pkgs.redis-dump];
2024-05-27 10:24:01 -04:00
services.redis = {
package = pkgs.valkey;
servers = {
forgejo = {
enable = true;
openFirewall = true;
port = 6379;
bind = null;
2024-08-10 17:07:15 -04:00
databases = 1;
2024-05-27 10:24:01 -04:00
logLevel = "debug";
requirePass = "forgejo";
settings = {
protected-mode = "no";
};
2023-10-07 20:42:30 -04:00
};
2024-05-27 10:24:01 -04:00
searxng = {
enable = true;
openFirewall = true;
port = 6380;
bind = null;
2024-08-10 17:07:15 -04:00
databases = 1;
2024-05-27 10:24:01 -04:00
logLevel = "debug";
requirePass = "searxng";
settings = {
protected-mode = "no";
};
2023-10-10 15:42:36 -04:00
};
2024-05-27 10:24:01 -04:00
blocky = {
enable = true;
openFirewall = true;
port = 6381;
bind = null;
2024-08-10 17:07:15 -04:00
databases = 1;
2024-05-27 10:24:01 -04:00
logLevel = "debug";
requirePass = "blocky";
settings = {
protected-mode = "no";
};
2023-11-30 22:27:21 -05:00
};
2024-05-27 10:24:01 -04:00
paperless-ngx = {
enable = true;
openFirewall = true;
port = 6382;
bind = null;
2024-08-10 17:07:15 -04:00
databases = 1;
2024-05-27 10:24:01 -04:00
logLevel = "debug";
requirePass = "paperless-ngx";
settings = {
protected-mode = "no";
};
2024-01-30 18:57:34 -05:00
};
};
2023-06-18 17:44:35 -04:00
};
}