diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-29 07:34:32 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-29 07:37:39 -0700 |
commit | e117efb1549b0c200e8932a2ea8ffefe9ba442c2 (patch) | |
tree | edb8024c917565ae13193729e9b430bd9972d9f8 /modules | |
parent | feat(cgit): exclude some repositories (diff) | |
download | world-e117efb1549b0c200e8932a2ea8ffefe9ba442c2.tar.gz |
feat(cgit): update cgit configuration
- enable git configuration to read the section out of it - don't display the owner (it's git by default) - sort branches and repositories by age Change-Id: I3f21ec6eb25747d21c23a68b6f24f7cb8345fb02 Reviewed-on: https://cl.fcuny.net/c/world/+/125 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/cgit/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix index 9d7cb9a..7abe537 100644 --- a/modules/services/cgit/default.nix +++ b/modules/services/cgit/default.nix @@ -12,6 +12,15 @@ let source-filter=${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py about-filter=${pkgs.cgit}/lib/cgit/filters/about-formatting.sh + enable-git-config=1 + enable-index-owner=0 + + remove-suffix=1 + + # sort repositories by section and branches by date + repository-sort=age + branch-sort=age + readme=:README.md readme=:README.org readme=:readme.org |