added for vps

This commit is contained in:
alsaiduq-lab 2025-10-28 05:47:59 -06:00
parent 15d0cb574b
commit ffbf9e08f2
9 changed files with 314 additions and 21 deletions

15
hosts/server/redis.nix Normal file
View file

@ -0,0 +1,15 @@
{
config,
pkgs,
...
}: {
services.redis.servers."" = {
enable = true;
bind = "127.0.0.1";
port = 6379;
settings = {
maxmemory = "256mb";
maxmemory-policy = "allkeys-lru";
};
};
}