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 {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 6379;
|
||||
description = "The port for Redis to listen to.";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue