nixos/redis: set port type to types.port

This commit is contained in:
Daniel Nagy
2021-05-30 14:38:19 +02:00
parent 73f9c29a2c
commit 0cde374a76
+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.";
};