diff options
Diffstat (limited to '')
-rw-r--r-- | src/org/euandre/queue.scm | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm index 5175ec2..5e4098c 100644 --- a/src/org/euandre/queue.scm +++ b/src/org/euandre/queue.scm @@ -33,8 +33,10 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages time) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages xml) #:use-module (gnu services certbot) + #:use-module (gnu services cgit) #:use-module (gnu services mail) #:use-module (gnu services shepherd) #:use-module (gnu services web) @@ -149,7 +151,9 @@ dovecot-service-type - dovecot-configuration)) + dovecot-configuration + + cgit-pre-configuration)) @@ -1550,6 +1554,32 @@ namespace inbox { ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; OS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(define cgit-pre-configuration + (cgit-configuration + (nginx '()) + (source-filter (file-append cgit "/lib/cgit/filters/syntax-highlighting.py")) + (about-filter (file-append cgit "/lib/cgit/filters/about-formatting.sh")) + (virtual-root "/git/") + (remove-suffix? #t) + (nocache? #t) + (enable-commit-graph? #t) + (enable-follow-links? #t) + (enable-index-links? #t) + (enable-index-owner? #f) + (enable-log-filecount? #t) + (enable-log-linecount? #t) + (enable-remote-branches? #t) + (enable-subject-links? #t) + (snapshots '("tar.gz" "tar.xz")) + (root-desc "Patches welcome!") + (root-title (string-append (gethostname) " repositories")) + (logo "/git/static/cgit.png") + (favicon "/git/static/favicon.ico") + (css "/git/static/cgit.css") + (extra-options + '("enable-blame=1" + "readme=:README.md" + "readme=:README")))) (list |