From 32f4cb5cbba313b7af2fce46139c04d9469cb72a Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Fri, 24 Jan 2025 12:14:23 -0500 Subject: 25-jan sprint --- machines/xnet/gitserver/gitweb.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'machines/xnet/gitserver/gitweb.nix') diff --git a/machines/xnet/gitserver/gitweb.nix b/machines/xnet/gitserver/gitweb.nix index bfd593d..da9a5ee 100644 --- a/machines/xnet/gitserver/gitweb.nix +++ b/machines/xnet/gitserver/gitweb.nix @@ -47,6 +47,7 @@ in ''; settings = { 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; @@ -61,12 +62,6 @@ in }; }; - # required for rendering markdown readme - environment.systemPackages = with pkgs; [ - python312 - python312Packages.markdown - ]; - # services.nginx.virtualHosts."${cfg.gitweb.hostName}" = { # useACMEHost = "4kb.net"; # addSSL = true; -- cgit v1.3.1