diff options
author | EuAndreh <eu@euandre.org> | 2023-03-17 10:49:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-17 10:49:38 -0300 |
commit | 1d81e4feed091cd164fe959a517943396fda476f (patch) | |
tree | c30c5f675789ebb0a4d416864a0836eb37cf44ce /src/org/euandre/queue.scm | |
parent | queue.scm: Rename dovecot2* => dovecot (diff) | |
download | package-repository-1d81e4feed091cd164fe959a517943396fda476f.tar.gz package-repository-1d81e4feed091cd164fe959a517943396fda476f.tar.xz |
queue.scm: Add cgit-pre-configuration variable
Diffstat (limited to 'src/org/euandre/queue.scm')
-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 |