summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-09-05 12:15:52 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-09-05 12:15:52 +0200
commitcb6fb76e52cbca3c628efcccee493a9dcc653cd1 (patch)
tree75f79c7c17ce4ddfe19a039d9c2dc7029f88b1f2
parent374fb01f527b2aa2ef2914fc3a655786758b9d38 (diff)
downloadhipis-system-cb6fb76e52cbca3c628efcccee493a9dcc653cd1.tar.gz
hipis-system-cb6fb76e52cbca3c628efcccee493a9dcc653cd1.zip
Change cgit service configuration and move hipis.scm file to hipis dir.
-rwxr-xr-xhipis/hipis.scm (renamed from hipis.scm)30
1 files changed, 18 insertions, 12 deletions
diff --git a/hipis.scm b/hipis/hipis.scm
index 0eacf56..ba36cbf 100755
--- a/hipis.scm
+++ b/hipis/hipis.scm
@@ -1,14 +1,15 @@
1(use-modules (gnu) 1(define-module (hipis)
2 (guix) 2 #:use-module (guix)
3 (gnu system) 3 #:use-module (gnu)
4 (gnu services)) 4 #:use-module (gnu system)
5 5 #:use-module (gnu packages version-control)
6(use-service-modules networking 6 #:use-module (gnu services)
7 ssh 7 #:use-module (gnu services networking)
8 cgit 8 #:use-module (gnu services ssh)
9 version-control 9 #:use-module (gnu services cgit)
10 certbot 10 #:use-module (gnu services version-control)
11 web) 11 #:use-module (gnu services certbot)
12 #:use-module (gnu services web))
12 13
13(define jdlugosz-ssh-pub 14(define jdlugosz-ssh-pub
14 (local-file "./jdlugosz.pub")) 15 (local-file "./jdlugosz.pub"))
@@ -106,10 +107,15 @@
106 (enable-commit-graph? #t) 107 (enable-commit-graph? #t)
107 (enable-html-serving? #t) 108 (enable-html-serving? #t)
108 (remove-suffix? #t) 109 (remove-suffix? #t)
109 (repository-directory "/var/lib/gitolite/repositories/public")
110 (nocache? #t) 110 (nocache? #t)
111 (enable-log-filecount? #t) 111 (enable-log-filecount? #t)
112 (enable-log-linecount? #t) 112 (enable-log-linecount? #t)
113 (side-by-side-diffs? #t)
114 (repository-directory "/var/lib/gitolite/repositories/public")
115 (source-filter (file-append cgit "/lib/cgit/filters/syntax-highlighting.py"))
116 (about-filter (file-append cgit "/lib/cgit/filters/about-formatting.sh"))
117 (max-stats "year")
118 (snapshots '("tar.gz" "zip"))
113 (readme "CGIT README") 119 (readme "CGIT README")
114 120
115 (nginx 121 (nginx