nixos/redis: set port type to types.port

This commit is contained in:
Daniel Nagy
2021-05-25 19:26:38 +02:00
parent 73f9c29a2c
commit 0cde374a76

View File

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