summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-07 23:19:58 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-07 23:19:58 +0200
commitf5192a3b77c1b9413ee821e7dc4f5f0ee7b66624 (patch)
tree77281d285c16c83a164eb2cd19d6664edbe10335
parentFix cgit? (diff)
downloadRory-Open-Architecture-f5192a3b77c1b9413ee821e7dc4f5f0ee7b66624.tar.xz
More cgit stuff
Diffstat (limited to '')
-rw-r--r--host/Rory-nginx/services/cgit.nix18
1 files changed, 17 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/cgit.nix b/host/Rory-nginx/services/cgit.nix
index 49ea0ba..38a12c3 100644
--- a/host/Rory-nginx/services/cgit.nix
+++ b/host/Rory-nginx/services/cgit.nix
@@ -14,12 +14,28 @@
       about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh";
       source-filter = "${pkgs.cgit-pink}/lib/cgit/filters/syntax-highlighting.py";
       clone-url = (lib.concatStringsSep " " [
-        "https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL"
+        "https://git.rory.gay/$CGIT_REPO_URL"
         "ssh://<user>@git.rory.gay:$CGIT_REPO_URL"
       ]);
       enable-log-filecount = 1;
       enable-log-linecount = 1;
       enable-git-config = 1;
+#testing
+      enable-blame = 1;
+      enable-commit-graph = 1;
+      enable-follow-links = 1;
+      enable-http-clone = 1;
+      enable-index-links = 1;
+      enable-remote-branches = 1;
+      enable-subject-links = 1;
+      enable-tree-linenumbers = 1;
+      max-atom-items = 100;
+      max-commit-count = 250;
+      max-repo-count = 500;
+      snapshots = "tar.xz";
+      #side-by-side-diffs = 1;
+
+
       root-title = "cgit.rory.gay";
       root-desc = "Rory&s Git Repositories";
     };