aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/infrastructure/guix/system.scm29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index ed75df4..9ce8523 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -406,34 +406,7 @@
charset utf-8;
add_header Strict-Transport-Security 'max-age=86400; includeSubdomains' always;
"#)))))))
- (service cgit-service-type
- (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 (str tld " 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
- "#))))
+ (service cgit-service-type queue:cgit-pre-configuration)
(simple-service 'extra-etc-file etc-service-type
`(("rc" ,(plain-file "rc.sh" (file "src/infrastructure/config/rc.sh")))
("ssh.conf" ,(plain-file "ssh.conf" (file "src/infrastructure/config/ssh.conf")))