summary refs log tree commit diff stats
path: root/modules/nixos/vhack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/vhack/git-server/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/nixos/vhack/git-server/default.nix b/modules/nixos/vhack/git-server/default.nix
index 610c6e7..5c25bd7 100644
--- a/modules/nixos/vhack/git-server/default.nix
+++ b/modules/nixos/vhack/git-server/default.nix
@@ -57,14 +57,6 @@ in {
     vhack.nginx.enable = true;
 
     services = {
-      fcgiwrap = {
-        # NOTE: This is needed as `cgit` otherwise fails to run `git` commands in the git
-        # repositories (for example, when cloning a repository over http). <2024-08-02>
-        # FIXME: Is there a way to not run _all_ wrapped cgi things as `git`? <2024-08-02>
-        user = "git";
-        group = "nginx";
-      };
-
       gitolite = {
         inherit (cfg.gitolite) adminPubkey;
         enable = true;
@@ -90,6 +82,8 @@ in {
         enable = true;
         package = pkgs.cgit-pink;
         scanPath = "${config.services.gitolite.dataDir}/repositories";
+        user = "git";
+        group = "git";
         settings = {
           branch-sort = "age";