diff options
author | Silas Schöffel <sils@sils.li> | 2024-06-11 22:10:47 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-11 22:10:47 +0200 |
commit | 129e6147a935bfbeb30b79caeb51882a34e53f06 (patch) | |
tree | 31059e8d80127b2090669c9345baf3c1f7da43fd | |
parent | fix(libreddit): Remove manual module override (diff) | |
download | nixos-server-129e6147a935bfbeb30b79caeb51882a34e53f06.tar.gz nixos-server-129e6147a935bfbeb30b79caeb51882a34e53f06.zip |
fix(git-server): enable http-clone through cgit
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/vhack/git-server.nix | 1 |
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"; |