about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-28 14:06:23 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-28 17:41:10 -0700
commitf8e385a5a688d5aa5c697bc89116e724a8727fc8 (patch)
treeb09fdd528e4438f3aa56eb93984f6e34221bd8e1 /modules/services
parentfeat(cgit): support org mode files for README (diff)
downloadworld-f8e385a5a688d5aa5c697bc89116e724a8727fc8.tar.gz
feat(cgit): set the clone URL to gerrit
Change-Id: I2328abdbd369358e59747a220fe1e57edd8c5126
Reviewed-on: https://cl.fcuny.net/c/world/+/86
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--modules/services/cgit/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix
index 1c6c97b..919bcc4 100644
--- a/modules/services/cgit/default.nix
+++ b/modules/services/cgit/default.nix
@@ -5,6 +5,7 @@ let
     # Global configuration
     virtual-root=/
     enable-http-clone=0
+    clone-url=https://cl.fcuny.net/$CGIT_REPO_URL
     source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
     about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
     readme=:README.md