s/types.int/types.port
This commit is contained in:
parent
fca8f6cb4c
commit
3c0732cedd
|
@ -12,14 +12,14 @@ in {
|
|||
enable = mkEnableOption "Bitwarden";
|
||||
|
||||
privatePort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8081;
|
||||
example = 8081;
|
||||
description = "Port used internally for rocket server";
|
||||
};
|
||||
|
||||
websocketPort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 3012;
|
||||
example = 3012;
|
||||
description = "Port used for websocket connections";
|
||||
|
|
|
@ -12,7 +12,7 @@ in {
|
|||
enable = mkEnableOption "Personal Git hosting with Gitea";
|
||||
|
||||
privatePort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8082;
|
||||
example = 8082;
|
||||
description = "Port to serve the app";
|
||||
|
|
|
@ -19,7 +19,7 @@ in {
|
|||
};
|
||||
|
||||
privatePort = mkOption {
|
||||
type = types.int;
|
||||
type = types.port;
|
||||
default = 8080;
|
||||
example = 8080;
|
||||
description = "Port to serve the app";
|
||||
|
|
Loading…
Reference in a new issue