guix-commits
[Top][All Lists]
Advanced

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

branch master updated: hydra: bayfront: Add Wireguard service.


From: Mathieu Othacehe
Subject: branch master updated: hydra: bayfront: Add Wireguard service.
Date: Tue, 21 Dec 2021 09:55:47 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 969c0b5  hydra: bayfront: Add Wireguard service.
969c0b5 is described below

commit 969c0b5594a14a6912525ed95001ff51d53bec69
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Tue Dec 21 15:54:55 2021 +0100

    hydra: bayfront: Add Wireguard service.
    
    * hydra/bayfront.scm: Add Wireguard service.
    * doc/cuirass.org (External machines): Update it.
---
 doc/cuirass.org    |  1 +
 hydra/bayfront.scm | 15 ++++++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/doc/cuirass.org b/doc/cuirass.org
index 33b5656..12392ce 100644
--- a/doc/cuirass.org
+++ b/doc/cuirass.org
@@ -25,6 +25,7 @@ network. The next section describes how to add a new external 
machine.
 | pankow     |  10.0.0.8 | Ricardo Wurmus        |
 | kreuzberg  |  10.0.0.9 | Ricardo Wurmus        |
 | grunewald  | 10.0.0.10 | Ricardo Wurmus        |
+| bayfront   | 10.0.0.11 | Andreas Enge          |
 
 * Connect an external machine
 
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 9768e34..8bb19bf 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -5,13 +5,14 @@
 ;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
 ;; Copyright © 2020, 2021 Christopher Baines <mail@cbaines.net>
 ;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
 ;; Released under the GNU GPLv3 or any later version.
 
 (use-modules (gnu) (guix) (guix packages) (guix git)
              (sysadmin people) (sysadmin services)
              (sysadmin dns) (sysadmin web))
 (use-service-modules admin avahi base certbot databases dns
-                     monitoring networking shepherd ssh web mcron guix)
+                     monitoring networking shepherd ssh vpn web mcron guix)
 (use-package-modules admin certs ci databases linux ssh tls vim
                      package-management web wget)
 
@@ -901,6 +902,18 @@ access_log  /var/log/nginx/bordeaux.access.log;"))
 
     firewall-service
 
+    (service wireguard-service-type
+             (wireguard-configuration
+              (addresses '("10.0.0.11/32"))
+              (peers
+               (list
+                (wireguard-peer
+                 (name "peer")
+                 (endpoint "ci.guix.gnu.org:51820")
+                 (public-key "wOIfhHqQ+JQmskRS2qSvNRgZGh33UxFDi8uuSXOltF0=")
+                 (allowed-ips '("10.0.0.1/32"))
+                 (keep-alive 25))))))
+
     (service openssh-service-type)
     (service sysadmin-service-type %sysadmins)
 



reply via email to

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