diff options
Diffstat (limited to 'tw')
-rw-r--r-- | tw/system/lud.scm | 11 |
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) |