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 = {