This commit is contained in:
Your Name
2025-07-24 15:55:54 +08:00
parent ff895e4193
commit e3f8a84ff5
4 changed files with 309 additions and 4 deletions
+11
View File
@@ -21,6 +21,7 @@
outputs.nixosModules.important-defaults
outputs.nixosModules.incus
outputs.nixosModules.orbstack
outputs.nixosModules.redis-cluster
# outputs.nixosModules.power-user-defaults
];
@@ -127,6 +128,16 @@
ports = [ 2222 ];
};
# Redis Cluster configuration
services.redisCluster = {
enable = true;
masters = 8; # 8 master nodes
replicasPerMaster = 1; # 1 replicas each = 16 total instances
basePort = 7000; # Masters: 7000-7007, Replicas: 7008-7015
announceIp = "0.0.0.0"; # Bind to all interfaces
openFirewall = true;
};
# System packages
environment.systemPackages = with pkgs; [
neovim