nixos/gitea: add git to the service path

Otherwise commands like `git push` will fail if the machine doesn't have
git installed.
This commit is contained in:
Maximilian Bosch 2019-01-14 15:58:27 +01:00
parent ad3a50e25b
commit f90bd42c89
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -278,7 +278,7 @@ in
description = "gitea";
after = [ "network.target" ] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service";
wantedBy = [ "multi-user.target" ];
path = [ gitea.bin ];
path = [ gitea.bin pkgs.gitAndTools.git ];
preStart = let
runConfig = "${cfg.stateDir}/custom/conf/app.ini";