aboutsummaryrefslogtreecommitdiff
path: root/sync
diff options
context:
space:
mode:
Diffstat (limited to 'sync')
-rw-r--r--sync/vps.scm54
1 files changed, 28 insertions, 26 deletions
diff --git a/sync/vps.scm b/sync/vps.scm
index 25aef3d..b850a39 100644
--- a/sync/vps.scm
+++ b/sync/vps.scm
@@ -331,27 +331,30 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\"")))
("webmaster" "root")
("abuse" "root")
(,certbot-alias "root")))
- ;; (service nginx-service-type
- ;; (nginx-configuration
- ;; (server-blocks
- ;; (list
- ;; (nginx-server-configuration
- ;; (server-name (list tld))
- ;; (ssl-certificate (tls-pub-for tld))
- ;; (ssl-certificate-key (tls-priv-for tld)))))))
- ;; (service certbot-service-type
- ;; (certbot-configuration
- ;; (email (string-append certbot-alias "@" tld))
- ;; (certificates
- ;; (list
- ;; (certificate-configuration
- ;; (domains tls-domains))))))
+ #;
+ (service nginx-service-type
+ (nginx-configuration
+ (server-blocks
+ (list
+ (nginx-server-configuration
+ (server-name (list tld))
+ (ssl-certificate (tls-pub-for tld))
+ (ssl-certificate-key (tls-priv-for tld)))))))
+ #;
+ (service certbot-service-type
+ (certbot-configuration
+ (email (string-append certbot-alias "@" tld))
+ (certificates
+ (list
+ (certificate-configuration
+ (domains tls-domains))))))
(simple-service 'automatic-certbot-renewal
activation-service-type
(with-imported-modules '((gnu services herd))
#~(begin
(use-modules (gnu services herd))
- ;; (execl "/var/lib/certbot/renew-certificates")
+ #;
+ (execl "/var/lib/certbot/renew-certificates")
(restart-service 'nginx))))
(service cgit-service-type
(cgit-configuration
@@ -372,17 +375,16 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\"")))
(max-repodesc-length 120)
(max-stats "year")
(nocache? #t)
+ #;
(readme "README.md")
- ;()
- ;; (repositories
- ;; (list
- ;; (repository-cgit-configuration
- ;; ))
- ;; )
- ;; (map (lambda (f)
- ;; (repository-cgit-configuration (readme f)))
- ;; '("README.md" "README" "README.rst" "README.org"))
- ))
+ #;
+ (repositories
+ (list
+ (repository-cgit-configuration)))
+ #;
+ (map (lambda (f)
+ (repository-cgit-configuration (readme f)))
+ '("README.md" "README" "README.rst" "README.org"))))
(simple-service 'init-srv-directories
activation-service-type
#~(begin