aboutsummaryrefslogtreecommitdiff
path: root/tw/system/lud.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-11-30 00:26:32 +0100
committerTimo Wilken2023-11-30 00:26:32 +0100
commit3289c2f3bfb3228d181f8a3ba09b9d812add4dcb (patch)
treeb61973aee57b93bbf6c4f99e64dd352a983d8bed /tw/system/lud.scm
parent5657968c20bc00b5f09cc54259771c0372c2a14c (diff)
Tweak cgit overview page
Diffstat (limited to 'tw/system/lud.scm')
-rw-r--r--tw/system/lud.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/tw/system/lud.scm b/tw/system/lud.scm
index 1a2c5d83..aee35d4f 100644
--- a/tw/system/lud.scm
+++ b/tw/system/lud.scm
@@ -97,14 +97,21 @@
(root-title "Timo Wilken's Git repositories")
(root-desc "Projects written by me, contributed to by me, or \
that I just want to host somewhere.")
- ;; (root-readme "") ; TODO
+ ;; (root-readme "/srv/git/README.md") ; TODO
+ ;; (readme "README.md") ; TODO
+ ;; https://wiki.archlinux.org/title/Cgit#Syntax_highlighting
+ ;; TODO: install python-markdown, highlight/python-pygments
+ ;; TODO: see /gnu/store/...-cgit-1.2.3/lib/cgit/filters/
+ ;; (about-filter "/lib/cgit/filters/about-formatting.sh")
(repository-directory "/srv/git")
(strict-export "git-daemon-export-ok") ; require presence of this file to show repo
(remove-suffix? #t) ; remove trailing .git in name and URL
(clone-prefix '("https://git.twilken.net"
"ssh://git@git.twilken.net:22022/~"))
(enable-http-clone? #t) ; avoid having to run git-daemon as well
- (noplainemail? #t) ; hide email addresses in web interface
+ (noplainemail? #t) ; hide email addresses in web interface
+ (enable-index-owner? #f) ; everything is owned by the "git" user
+ (enable-index-links? #t) ; add summary/commit/tree links in index
(nginx
(list (nginx-server-configuration
(inherit %cgit-configuration-nginx)