Loading
nixos/redis: rework Sentinel options
- Add sentinelMasterHost, sentinelMasterPort, sentinelMasterQuorum options - Add special handling for mutable state in /var/lib/redis-xxx Redis/Valkey Sentinel persists dynamic cluster state by rewriting its configuration file at runtime. This behaviour cannot be disabled. Add conditional preStart logic to avoid overwriting Sentinel-owned configuration while preserving NixOS-managed defaults. This introduces a necessary, documented deviation from strict declarative semantics.