aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 10:57:52 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 10:57:52 -0300
commit66b0ccc0923d22df8183c02b0bef7dcff4998269 (patch)
tree2d5d47d48d7175b89d323f5d2e6d3eb6ebebc0f4 /src
parentsystem.scm: dovecot2 => dovecot (diff)
downloadtoph-66b0ccc0923d22df8183c02b0bef7dcff4998269.tar.gz
toph-66b0ccc0923d22df8183c02b0bef7dcff4998269.tar.xz
system.scm: Use queue:cgit-pre-configuration
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 66b0ccc0923d22df8183c02b0bef7dcff4998269 git notes --ref=refs/notes/ci-data show 66b0ccc0923d22df8183c02b0bef7dcff4998269 Exit status: 0 Duration: 15
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")))