guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: hydra: bayfront: Address tor-hidden-service being deprecated.


From: Christopher Baines
Subject: 03/03: hydra: bayfront: Address tor-hidden-service being deprecated.
Date: Thu, 18 May 2023 11:23:56 -0400 (EDT)

cbaines pushed a commit to branch master
in repository maintenance.

commit 45a4a4d9f339b7c62d096146dddf9c7ca67710e7
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu May 18 16:22:00 2023 +0100

    hydra: bayfront: Address tor-hidden-service being deprecated.
    
    * hydra/bayfront.scm <services>[tor-hidden-service]: Inline behaviour
    of tor-hidden-service.
---
 hydra/bayfront.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index eb5c585..2c25e40 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -1032,10 +1032,14 @@ add_header Content-Type text/plain;")))
                 '("185.233.100.100" "185.233.100.101")))))
 
     ;; Make SSH and HTTP/HTTPS available over Tor.
-    (tor-hidden-service "http"
-                        '((22 "127.0.0.1:22")
-                          (80 "127.0.0.1:80")
-                          (443 "127.0.0.1:443")))
+    (simple-service 'tor-hidden-service
+                    tor-service-type
+                    (list (tor-onion-service-configuration
+                           (name "http")
+                           (mapping
+                            '((22 "127.0.0.1:22")
+                              (80 "127.0.0.1:80")
+                              (443 "127.0.0.1:443"))))))
     (service tor-service-type)
 
     (service prometheus-node-exporter-service-type)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]