nixos/redis: set port type to types.port

(cherry picked from commit 0cde374a7604821ceddd24d06ae21e44de59d04c)
This commit is contained in:
Daniel Nagy
2021-06-01 13:15:24 +00:00
committed by github-actions[bot]
parent d71b353d15
commit 98d6d1dbf7
+1 -1
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.";
};