summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-05-25 19:25:46 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-01 13:15:24 +0000
commitd71b353d151d74ff5b1d13044c4d977efc34e93f (patch)
treebcfe57b7c38fa4bc434c98e7eb0ca5fee5ad6045
parentnixos/terraria: adapt option types (diff)
downloadnixpkgs-d71b353d151d74ff5b1d13044c4d977efc34e93f.tar.gz
nixos/discourse: set port type to `types.port`
(cherry picked from commit 73f9c29a2cd4e298493751ba1e3f1f5750021ad2)
-rw-r--r--nixos/modules/services/web-apps/discourse.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/discourse.nix b/nixos/modules/services/web-apps/discourse.nix
index 49958fc6190c..9c7166f381a3 100644
--- a/nixos/modules/services/web-apps/discourse.nix
+++ b/nixos/modules/services/web-apps/discourse.nix
@@ -356,7 +356,7 @@ in
};
port = lib.mkOption {
- type = lib.types.int;
+ type = lib.types.port;
default = 25;
description = ''
The port of the SMTP server Discourse should use to