diff --git a/container/Git.nix b/container/Git.nix index 3628c7b..eb1ff8c 100644 --- a/container/Git.nix +++ b/container/Git.nix @@ -65,12 +65,14 @@ in { "service".DISABLE_REGISTRATION = true; "log".LEVEL = "Error"; "server" = { - DISABLE_SSH = false; - SSH_PORT = cfg.portSsh; - START_SSH_SERVER = true; - DOMAIN = cfg.domain; - HTTP_ADDR = cfg.address; - ROOT_URL = "https://${cfg.domain}"; + DOMAIN = cfg.domain; + HTTP_ADDR = cfg.address; + ROOT_URL = "https://${cfg.domain}"; + + BUILTIN_SSH_SERVER_USER = "git"; + DISABLE_SSH = false; + SSH_PORT = cfg.portSsh; + START_SSH_SERVER = true; }; "ui" = { AMBIGUOUS_UNICODE_DETECTION = false; diff --git a/home/program/bash/module/Git.nix b/home/program/bash/module/Git.nix index 4368aea..da13416 100644 --- a/home/program/bash/module/Git.nix +++ b/home/program/bash/module/Git.nix @@ -179,7 +179,7 @@ return 2 fi - git clone https://git.voronind.com/voronind/"''${repo}" + git clone ssh://git@git.voronind.com:22144/voronind/"''${repo}" } # See diff for a specific commit. Last commit by default.