nixos/gogs: allow git operations over ssh

Without `ROOT_PATH` set, `gogs serv` tries to open logs in writing in
its store directory. This blocks cloning or pushing over ssh, and
results in a gogs internal error.
This commit is contained in:
Léo Gaspard 2018-03-29 21:17:02 +02:00 committed by Bjørn Forsman
parent ec9a51d0cc
commit b59570eac0

@ -35,6 +35,9 @@ let
SECRET_KEY = #secretkey# SECRET_KEY = #secretkey#
INSTALL_LOCK = true INSTALL_LOCK = true
[log]
ROOT_PATH = ${cfg.stateDir}/log
${cfg.extraConfig} ${cfg.extraConfig}
''; '';
in in