From 6d24de56c57b0db45cec762898fc647f3128ca68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 12 Feb 2024 15:50:52 +0200 Subject: [PATCH] soju: listen ws+insecure on :6698 --- data.nix | 1 + hosts/vno1-oh2/configuration.nix | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data.nix b/data.nix index 65d254a..a3ffca3 100644 --- a/data.nix +++ b/data.nix @@ -26,6 +26,7 @@ rec { vaultwarden_ws = 3012; soju = 6697; + soju-ws = 6698; matrix-synapse = 8008; vaultwarden = 8222; kodi = 8080; diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index c485cf0..0966c8e 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -155,6 +155,7 @@ grafana prometheus soju + soju-ws ]; } ]; @@ -520,7 +521,11 @@ soju = { enable = true; - listen = ["unix+admin://" ":${toString myData.ports.soju}"]; + listen = [ + "unix+admin://" + ":${toString myData.ports.soju}" + "ws+insecure://0.0.0.0:${toString myData.ports.soju-ws}" + ]; tlsCertificate = "/run/soju/cert.pem"; tlsCertificateKey = "/run/soju/key.pem"; hostName = "irc.jakstys.lt";