summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-05-25 19:29:16 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-01 13:15:24 +0000
commit28e57cb0c7316cf89552c991baac7c37f64c6bcc (patch)
treedb88aa5aaee848407fd05d82261223e7c42a445b
parentnixos/syncserver: set port type to `types.port` (diff)
downloadnixpkgs-28e57cb0c7316cf89552c991baac7c37f64c6bcc.tar.gz
nixos/matrix-synapse: set port type to types.port
(cherry picked from commit 8e760f485873d202a0ad4aba7a78caabc85cf5db)
-rw-r--r--nixos/modules/services/misc/matrix-synapse.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/matrix-synapse.nix b/nixos/modules/services/misc/matrix-synapse.nix
index dff587453042..d623e97b8b1e 100644
--- a/nixos/modules/services/misc/matrix-synapse.nix
+++ b/nixos/modules/services/misc/matrix-synapse.nix
@@ -231,7 +231,7 @@ in {
type = types.listOf (types.submodule {
options = {
port = mkOption {
- type = types.int;
+ type = types.port;
example = 8448;
description = ''
The port to listen for HTTP(S) requests on.