summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-06-11 22:10:47 +0200
committerSilas Schöffel <sils@sils.li>2024-06-11 22:10:47 +0200
commit129e6147a935bfbeb30b79caeb51882a34e53f06 (patch)
tree31059e8d80127b2090669c9345baf3c1f7da43fd /modules
parentfix(libreddit): Remove manual module override (diff)
downloadnixos-server-129e6147a935bfbeb30b79caeb51882a34e53f06.tar.gz
nixos-server-129e6147a935bfbeb30b79caeb51882a34e53f06.zip
fix(git-server): enable http-clone through cgit
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/vhack/git-server.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/nixos/vhack/git-server.nix b/modules/nixos/vhack/git-server.nix
index 2722298..bcc049a 100644
--- a/modules/nixos/vhack/git-server.nix
+++ b/modules/nixos/vhack/git-server.nix
@@ -25,6 +25,7 @@ in {
         package = pkgs.cgit-pink;
         scanPath = "${config.services.gitolite.dataDir}/repositories";
         settings = {
+          enable-http-clone = true;
           section-from-path = true;
           project-list = "${config.services.gitolite.dataDir}/projects.list";
           source-filter = "${config.services.cgit."git.vhack.eu".package}/lib/cgit/filters/syntax-highlighting.py";