fix: configure gitea to use correct ssh port
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
AllowUsers = [ "leonhard" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user