mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
nixos/redis: set port type to types.port
This commit is contained in:
parent
73f9c29a2c
commit
0cde374a76
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue