summaryrefslogtreecommitdiff
path: root/machines/xnet/gitserver
diff options
context:
space:
mode:
Diffstat (limited to 'machines/xnet/gitserver')
-rw-r--r--machines/xnet/gitserver/gitweb.nix7
1 files changed, 1 insertions, 6 deletions
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;