From 144b572b1bd1f3b08cc0edcca53be81d66cff3fe Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 15 Jun 2023 21:36:10 +0100 Subject: [PATCH] fix: set the alternatate port used for the ssh --- applications/gitlab.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/applications/gitlab.nix b/applications/gitlab.nix index 3a7d4ed..5e9dff0 100644 --- a/applications/gitlab.nix +++ b/applications/gitlab.nix @@ -104,8 +104,11 @@ # for git 22 + 2222 ]; + services.openssh.ports = [ 22 2222 ]; + services.nginx. virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = { forceSSL = true; useACMEHost = "skynet"; @@ -142,11 +145,8 @@ jwsFile = config.age.secrets.gitlab_secrets_jws.path; }; extraConfig = { - gitlab = { - #email_from = "gitlab-no-reply@example.com"; - #email_display_name = "Example GitLab"; - #email_reply_to = "gitlab-no-reply@example.com"; - default_projects_features = { builds = false; }; + gitlab_shell = { + ssh_port = 2222; }; ldap = {