nix-deploy/config/hosts/rudiger/services/redis.nix

13 lines
255 B
Nix
Raw Normal View History

2021-09-28 11:55:33 +02:00
{ config, ... }:
{
services.redis = {
vmOverCommit = true;
2022-08-03 08:57:34 +02:00
servers."" = {
enable = true;
unixSocket = "/run/redis/redis.sock";
unixSocketPerm = 770;
#requirePassfile = config.secrets.files.redis_pass.file;
};
};
2021-09-28 11:55:33 +02:00
}