From f90bd42c8966c0de583487b3ac262e35b06cbd99 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 14 Jan 2019 15:58:27 +0100 Subject: [PATCH] nixos/gitea: add `git` to the service path Otherwise commands like `git push` will fail if the machine doesn't have git installed. --- nixos/modules/services/misc/gitea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix index 9a646000981f..be4d38719785 100644 --- a/nixos/modules/services/misc/gitea.nix +++ b/nixos/modules/services/misc/gitea.nix @@ -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";