This commit is contained in:
2026-06-11 14:39:57 +00:00
parent 6996d178ef
commit f6e7c1eca9
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -15,7 +15,7 @@ with builtins;
with lib; with lib;
let let
domain = "hectic-lab.com"; domain = "hectic-lab.com";
matrixDomain = "accord.tube"; sshPort = 22;
mailUserNames = [ mailUserNames = [
"security" "security"
"founders" "founders"
@@ -163,6 +163,8 @@ in {
]; ];
}; };
services.openssh.ports = [ sshPort ];
services.mailserver = { services.mailserver = {
enable = true; enable = true;
domain = domain; domain = domain;
@@ -183,10 +185,10 @@ in {
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
sshPort # ssh
80 80
443 443
3306 # mysql 3306 # mysql
11012 # gitea ssh
25565 25565
55228 # ss-bfs 55228 # ss-bfs
]; ];
@@ -268,7 +270,7 @@ in {
settings.service.DISABLE_REGISTRATION = true; settings.service.DISABLE_REGISTRATION = true;
settings.server = { settings.server = {
HTTP_PORT = 11011; HTTP_PORT = 11011;
#SSH_PORT = 22; SSH_PORT = sshPort;
SSH_DOMAIN = "hectic-lab.com"; SSH_DOMAIN = "hectic-lab.com";
}; };
database = { database = {
+1 -1
View File
@@ -36,7 +36,7 @@ let
hash = "sha256-pbzuPgKJ0DmrDSTO7ZTDArX+Xr9k/ndAGZvQg2kMTMQ="; hash = "sha256-pbzuPgKJ0DmrDSTO7ZTDArX+Xr9k/ndAGZvQg2kMTMQ=";
}; };
inherit patches; #inherit patches; #WIP
pnpmDeps = fetchPnpmDeps { pnpmDeps = fetchPnpmDeps {
pname = "element"; pname = "element";