change port type to int
This commit is contained in:
parent
08c3bd9715
commit
31563d9dbe
1 changed files with 3 additions and 3 deletions
|
|
@ -39,9 +39,9 @@
|
|||
};
|
||||
|
||||
port = mkOption {
|
||||
type = types.str;
|
||||
default = "8000";
|
||||
example = "4000";
|
||||
type = types.int;
|
||||
default = 8000;
|
||||
example = 4000;
|
||||
description = "Port on which the server listens";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue