nixos/redis: set port type to types.port
(cherry picked from commit 0cde374a7604821ceddd24d06ae21e44de59d04c)
This commit is contained in:
parent
d71b353d15
commit
98d6d1dbf7
@ -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.";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user