services: gitea use system ssh

This commit is contained in:
Kabbone 2023-01-07 08:54:01 +01:00
parent cbc20ba224
commit e44ba26ccb
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -23,11 +23,7 @@
mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path;
settings = {
server = {
START_SSH_SERVER = true;
SSH_PORT = 2222;
# SSH_SERVER_CIPHERS = "";
# SSH_SERVER_KEY_EXCHANGES = "";
# SSH_SERVER_MACS = "";
SSH_PORT = 2220;
ENABLE_GZIP = true;
};
security = {
@ -68,12 +64,6 @@
};
};
networking.firewall = {
interfaces.ens18 = {
allowedTCPPorts = [ 2222 ];
};
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;