diff options
author | stuebinm | 2023-03-24 15:04:48 +0100 |
---|---|---|
committer | stuebinm | 2023-03-24 15:04:48 +0100 |
commit | 7534fab542705a5b2fd3fcd7d890a5cd5cb60afe (patch) | |
tree | e626a73b484f6645c73cbb3f2930a87a2f0f36c5 /flora | |
parent | 6840fd8748b570faabfe054835c5d3edb56f471d (diff) |
flora: use gitMinimal everywhere
this is probably not strictly necessary (git & gitMinimal should
deduplicate nicely), it's just weird to have two of them.
Diffstat (limited to 'flora')
-rw-r--r-- | flora/services/cgit.nix | 6 |
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 ]; |