fix: configure gitea to use correct ssh port
This commit is contained in:
1 parent
b77fb6e925
commit
6e81791188
2 files changed
+1
-1
No files matched your search
@@ -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