summaryrefslogtreecommitdiff
path: root/guix/theodora.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/theodora.scm')
-rw-r--r--guix/theodora.scm33
1 files changed, 24 insertions, 9 deletions
diff --git a/guix/theodora.scm b/guix/theodora.scm
index 75c2808..ea0b1e8 100644
--- a/guix/theodora.scm
+++ b/guix/theodora.scm
@@ -9,12 +9,11 @@
#:use-module (rosenthal services networking)
#:use-module (gnu packages databases)
#:use-module (gnu packages haskell-apps)
- #:use-module (gnu packages version-control))
+ #:use-module (gnu packages version-control)
+ #:use-module (packages))
(use-service-modules cups desktop networking ssh docker xorg)
-(make-gitolite (list redis git-annex))
-
(operating-system
(locale "en_US.utf8")
(timezone "Europe/Athens")
@@ -53,11 +52,13 @@
(service cgit-service-type
(cgit-configuration
+ (package cgit)
(root-desc "Δωρεὰν ἐλάβετε, δωρεὰν δότε. | Freely you have received; freely give. (Mathew 10:8)")
(project-list
'("dotfiles" "gnosis" "yeetube" "org-gnosis"
"hecate" "pcmpl-emerge" "pcmpl-rc" "hunspell-dict-el" "hunspell-dict-en-med"
- "pcmpl-tailscale" "greek-polytonic.el" "org-gnosis-ui" "hunspell-dict-el-polytonic"))
+ "pcmpl-tailscale" "greek-polytonic.el" "org-gnosis-ui" "hunspell-dict-el-polytonic"
+ "cgit"))
(repository-directory "/srv/git")
(root-title "Thanos Apollo | Git server")
(enable-index-owner? #f)
@@ -68,6 +69,10 @@
(nginx-server-configuration
(server-name '("git.thanosapollo.org"))
(root cgit)
+ (try-files (list "$uri" "@cgit"))
+ (listen '("80"))
+ (ssl-certificate #f)
+ (ssl-certificate-key #f)
(locations
(list
(nginx-location-configuration
@@ -89,10 +94,7 @@
(git-http-configuration
(uri-path "/")
(export-all? #t)))))
- (try-files (list "$uri" "@cgit"))
- (listen '("80"))
- (ssl-certificate #f)
- (ssl-certificate-key #f))))))
+ )))))
(service nginx-service-type
(nginx-configuration
@@ -112,7 +114,20 @@
(service ntp-service-type)
(service cups-service-type)
(service containerd-service-type)
- (service docker-service-type))
+ (service docker-service-type)
+ (service oci-container-service-type
+ (list
+ ;; (oci-container-configuration
+ ;; (image "gitea/gitea")
+ ;; (network "host")
+ ;; (volumes
+ ;; '(("/home/git/data" . "/gitea")
+ ;; ("/etc/timezone" . "/etc/timezone")
+ ;; ("/etc/localtime" . "/etc/localtime")))
+ ;; (ports
+ ;; '(("3000" . "3000")
+ ;; ("22" . "222"))))
+ )))
%base-services))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)