summaryrefslogtreecommitdiff
path: root/flora
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flora/services/cgit.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/flora/services/cgit.nix b/flora/services/cgit.nix
index 5c7410c..032ec1d 100644
--- a/flora/services/cgit.nix
+++ b/flora/services/cgit.nix
@@ -80,7 +80,7 @@ in
extraConfig = ''
fastcgi_pass unix:${config.services.fcgiwrap.socketAddress};
include ${pkgs.nginx}/conf/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend;
+ fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend;
fastcgi_param GIT_HTTP_EXPORT_ALL "";
fastcgi_param GIT_PROJECT_ROOT /var/git/public;
fastcgi_param PATH_INFO $1;
@@ -91,7 +91,7 @@ in
extraConfig = ''
fastcgi_pass unix:${config.services.fcgiwrap.socketAddress};
include ${pkgs.nginx}/conf/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME ${pkgs.git}/bin/git-http-backend;
+ fastcgi_param SCRIPT_FILENAME ${pkgs.gitMinimal}/bin/git-http-backend;
fastcgi_param GIT_HTTP_EXPORT_ALL "";
fastcgi_param GIT_PROJECT_ROOT /var/git/forks;
fastcgi_param PATH_INFO $1;
@@ -104,7 +104,7 @@ in
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
home = "/var/git";
isNormalUser = true;
- packages = [ pkgs.git ];
+ packages = [ pkgs.gitMinimal ];
};
networking.firewall.allowedTCPPorts = [ 80 443 ];