summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-06-14 19:13:56 -0700
committerKleidi Bujari <mail@4kb.net>2026-06-14 19:13:56 -0700
commit378c81a4bc0c6bb6d46671d250d2fc7db376e6fb (patch)
tree639a4b08f8c556c5f672d0fc19d5391d1808060c /modules
parent21a6ffe30635802fc11528c331b524418ced9988 (diff)
downloaddepot-378c81a4bc0c6bb6d46671d250d2fc7db376e6fb.tar.gz
depot-378c81a4bc0c6bb6d46671d250d2fc7db376e6fb.tar.bz2
depot-378c81a4bc0c6bb6d46671d250d2fc7db376e6fb.zip
revert to normal cgit, cgit-pink is unmaintained
Diffstat (limited to 'modules')
-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;