From 6bba15faae1c81fc4724b31949e3c10dd8afea42 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 3 Aug 2022 11:26:05 +0200 Subject: [PATCH] gitea: git protocol v2 over ssh cf. https://docs.gitea.io/en-us/config-cheat-sheet/#git-git, entry for option ENABLE_AUTO_GIT_WIRE_PROTOCOL --- services/gitea.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/gitea.nix b/services/gitea.nix index e24bcc6..19d5455 100644 --- a/services/gitea.nix +++ b/services/gitea.nix @@ -111,6 +111,9 @@ addr = "192.168.100.10"; port = 22; } ]; + extraConfig = '' + AcceptEnv GIT_PROTOCOL + ''; }; })).config.system.build.toplevel; };