From e44ba26ccb472237924392d413566f152723515c Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 7 Jan 2023 08:54:01 +0100 Subject: [PATCH] services: gitea use system ssh --- modules/services/server/gitea.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/services/server/gitea.nix b/modules/services/server/gitea.nix index 693c2da..eee3a1e 100644 --- a/modules/services/server/gitea.nix +++ b/modules/services/server/gitea.nix @@ -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;