fix: configure gitea to use correct ssh port

This commit is contained in:
2026-06-03 22:31:33 +02:00
parent b77fb6e925
commit 6e81791188
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -48,7 +48,6 @@
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [ "leonhard" ];
};
};
+1
View File
@@ -10,6 +10,7 @@ in
services.gitea = {
enable = true;
settings.server.ROOT_URL = "https://${gitDomain}";
settings.server.SSH_PORT = builtins.elemAt config.services.openssh.ports 0;
settings.service.DISABLE_REGISTRATION = true;
settings.log.LEVEL = "Critical";
};