summaryrefslogtreecommitdiff
path: root/modules/xnet/gitserver/gitweb.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/xnet/gitserver/gitweb.nix')
-rw-r--r--modules/xnet/gitserver/gitweb.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/xnet/gitserver/gitweb.nix b/modules/xnet/gitserver/gitweb.nix
index da9a5ee..a9ed7d9 100644
--- a/modules/xnet/gitserver/gitweb.nix
+++ b/modules/xnet/gitserver/gitweb.nix
@@ -25,7 +25,7 @@ in
services.cgit.main = {
enable = true;
scanPath = config.xnet.gitServer.path;
- package = pkgs.cgit-pink;
+ gitHttpBackend.checkExportOkFiles = false;
nginx = {
virtualHost = cfg.hostName;
location = "/";
@@ -46,8 +46,8 @@ in
readme=:README.txt
'';
settings = {
- about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh";
- source-filter = "${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py";
+ # about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh";
+ # source-filter = "${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py";
clone-url = "https://${cfg.hostName}/$CGIT_REPO_URL git@${cfg.hostName}:$CGIT_REPO_URL";
enable-commit-graph = true;
enable-http-clone = false;