diff --git a/services/bitwarden_rs.nix b/services/bitwarden_rs.nix index b31b7a2..27bd4be 100644 --- a/services/bitwarden_rs.nix +++ b/services/bitwarden_rs.nix @@ -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"; diff --git a/services/gitea.nix b/services/gitea.nix index b481a5c..196a8ee 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -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"; diff --git a/services/miniflux.nix b/services/miniflux.nix index bcf3f47..027c217 100644 --- a/services/miniflux.nix +++ b/services/miniflux.nix @@ -19,7 +19,7 @@ in { }; privatePort = mkOption { - type = types.int; + type = types.port; default = 8080; example = 8080; description = "Port to serve the app";