diff options
| author | Kleidi Bujari <mail@4kb.net> | 2026-06-14 19:13:56 -0700 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2026-06-14 19:13:56 -0700 |
| commit | 378c81a4bc0c6bb6d46671d250d2fc7db376e6fb (patch) | |
| tree | 639a4b08f8c556c5f672d0fc19d5391d1808060c /modules | |
| parent | 21a6ffe30635802fc11528c331b524418ced9988 (diff) | |
| download | depot-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.nix | 6 |
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; |
