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:
parent
ec9a51d0cc
commit
b59570eac0
@ -35,6 +35,9 @@ let
|
||||
SECRET_KEY = #secretkey#
|
||||
INSTALL_LOCK = true
|
||||
|
||||
[log]
|
||||
ROOT_PATH = ${cfg.stateDir}/log
|
||||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user