From 3c0732cedd180e751741e2f06518cb4aee52891f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 2 Feb 2021 18:24:28 +0100 Subject: [PATCH] s/types.int/types.port --- services/bitwarden_rs.nix | 4 ++-- services/gitea.nix | 2 +- services/miniflux.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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";