guix-commits
[Top][All Lists]
Advanced

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

03/03: hydra: berlin: Add Avahi support.


From: Mathieu Othacehe
Subject: 03/03: hydra: berlin: Add Avahi support.
Date: Tue, 1 Dec 2020 05:55:30 -0500 (EST)

mothacehe pushed a commit to branch master
in repository maintenance.

commit da8baba8188cc23bd3361f75bd678b247280688b
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Tue Dec 1 11:53:05 2020 +0100

    hydra: berlin: Add Avahi support.
    
    * hydra/berlin.scm: Add Avahi support.
---
 hydra/berlin.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index ebf1100..442177c 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -8,8 +8,8 @@
              ((guix build utils) #:select (find-files))
              (srfi srfi-1)
              (ice-9 match))
-(use-service-modules base databases dns monitoring networking admin shepherd
-                    ssh)
+(use-service-modules avahi base databases dns monitoring networking admin
+                     shepherd ssh)
 (use-package-modules admin certs emacs linux mail monitoring
                      ssh tls tor vim package-management
                      version-control
@@ -153,6 +153,7 @@ Happy hacking!\n"))
   (timezone "Europe/Berlin")
   (locale "en_US.utf8")
 
+  (name-service-switch %mdns-host-lookup-nss)
   ;; Allow access through the serial console at 141.80.167.201; the
   ;; management interface can only be accessed through selected
   ;; servers within the MDC campus network.
@@ -244,6 +245,10 @@ Happy hacking!\n"))
                               (tty "ttyS0")
                               (baud-rate "115200")))
 
+             ;; Discover substitute servers.
+             (service avahi-service-type
+                      (avahi-configuration (debug? #t)))
+
              ;; DNS
              (service knot-service-type
                       (knot-configuration



reply via email to

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