nixos/redis: set port type to `types.port`

(cherry picked from commit 0cde374a7604821ceddd24d06ae21e44de59d04c)
This commit is contained in:
Daniel Nagy 2021-05-25 19:26:38 +02:00 committed by github-actions[bot]
parent d71b353d15
commit 98d6d1dbf7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 6379;
description = "The port for Redis to listen to.";
};