diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/customs/cgit/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/customs/cgit/default.nix b/modules/customs/cgit/default.nix index 19eac01..2782a61 100644 --- a/modules/customs/cgit/default.nix +++ b/modules/customs/cgit/default.nix @@ -12,11 +12,9 @@ let about-filter = "${cfg.package}/lib/cgit/filters/about-formatting.sh"; source-filter = "${cfg.package}/lib/cgit/filters/syntax-highlighting.py"; enable-git-config = 1; - # Disable cgit's HTTP "dumb" protocol and use git itself to provide the - # HTTP "smart" protocol instead. - enable-http-clone = 0; + enable-http-clone = 1; remove-suffix = 1; - clone-url = "https://${cfg.virtualHost}/$CGIT_REPO_URL.git"; + clone-url = "https://${cfg.virtualHost}/$CGIT_REPO_URL"; scan-path = cfg.scanPath; }; in |