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

View file

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

View file

@ -19,7 +19,7 @@ in {
};
privatePort = mkOption {
type = types.int;
type = types.port;
default = 8080;
example = 8080;
description = "Port to serve the app";