fix: configure gitea to use correct ssh port
This commit is contained in:
@@ -48,7 +48,6 @@
|
|||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
AllowUsers = [ "leonhard" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ in
|
|||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server.ROOT_URL = "https://${gitDomain}";
|
settings.server.ROOT_URL = "https://${gitDomain}";
|
||||||
|
settings.server.SSH_PORT = builtins.elemAt config.services.openssh.ports 0;
|
||||||
settings.service.DISABLE_REGISTRATION = true;
|
settings.service.DISABLE_REGISTRATION = true;
|
||||||
settings.log.LEVEL = "Critical";
|
settings.log.LEVEL = "Critical";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user