s/types.int/types.port

This commit is contained in:
Antoine Martin 2021-02-02 18:24:28 +01:00
parent fca8f6cb4c
commit 3c0732cedd
3 changed files with 4 additions and 4 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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";