fix: set the alternatate port used for the ssh

This commit is contained in:
silver 2023-06-15 21:36:10 +01:00
parent 1c03644912
commit 144b572b1b

View file

@ -104,8 +104,11 @@
# for git # for git
22 22
2222
]; ];
services.openssh.ports = [ 22 2222 ];
services.nginx. virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = { services.nginx. virtualHosts."${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = {
forceSSL = true; forceSSL = true;
useACMEHost = "skynet"; useACMEHost = "skynet";
@ -142,11 +145,8 @@
jwsFile = config.age.secrets.gitlab_secrets_jws.path; jwsFile = config.age.secrets.gitlab_secrets_jws.path;
}; };
extraConfig = { extraConfig = {
gitlab = { gitlab_shell = {
#email_from = "gitlab-no-reply@example.com"; ssh_port = 2222;
#email_display_name = "Example GitLab";
#email_reply_to = "gitlab-no-reply@example.com";
default_projects_features = { builds = false; };
}; };
ldap = { ldap = {