MyNixOS website logo
option

services.redis.servers.<name>.port

The TCP port to accept connections. If port 0 is specified Redis will not listen on a TCP socket.

Declarations
Type
16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
if name == "" then 6379 else 0