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
No known key found for this signature in database
GPG Key ID: 1B8E8DCB576FB671

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.";
};