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