From f6e7c1eca92b6994e2f08bf01b66e8f7170acdbc Mon Sep 17 00:00:00 2001 From: yukkop Date: Thu, 11 Jun 2026 14:39:57 +0000 Subject: [PATCH] chore --- nixos/system/hectic-lab/hectic-lab.nix | 8 +++++--- package/element-web/default.nix | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/system/hectic-lab/hectic-lab.nix b/nixos/system/hectic-lab/hectic-lab.nix index 93be348c..73e4741b 100644 --- a/nixos/system/hectic-lab/hectic-lab.nix +++ b/nixos/system/hectic-lab/hectic-lab.nix @@ -15,7 +15,7 @@ with builtins; with lib; let domain = "hectic-lab.com"; - matrixDomain = "accord.tube"; + sshPort = 22; mailUserNames = [ "security" "founders" @@ -163,6 +163,8 @@ in { ]; }; + services.openssh.ports = [ sshPort ]; + services.mailserver = { enable = true; domain = domain; @@ -183,10 +185,10 @@ in { networking.firewall = { allowedTCPPorts = [ + sshPort # ssh 80 443 3306 # mysql - 11012 # gitea ssh 25565 55228 # ss-bfs ]; @@ -268,7 +270,7 @@ in { settings.service.DISABLE_REGISTRATION = true; settings.server = { HTTP_PORT = 11011; - #SSH_PORT = 22; + SSH_PORT = sshPort; SSH_DOMAIN = "hectic-lab.com"; }; database = { diff --git a/package/element-web/default.nix b/package/element-web/default.nix index c8828a24..195d1bd2 100644 --- a/package/element-web/default.nix +++ b/package/element-web/default.nix @@ -36,7 +36,7 @@ let hash = "sha256-pbzuPgKJ0DmrDSTO7ZTDArX+Xr9k/ndAGZvQg2kMTMQ="; }; - inherit patches; + #inherit patches; #WIP pnpmDeps = fetchPnpmDeps { pname = "element";