From 378c81a4bc0c6bb6d46671d250d2fc7db376e6fb Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Sun, 14 Jun 2026 19:13:56 -0700 Subject: revert to normal cgit, cgit-pink is unmaintained --- modules/xnet/gitserver/gitweb.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') 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; -- cgit v1.3.1