[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: hydra: sysadmin: Enable Avahi on build machines.
From: |
Mathieu Othacehe |
Subject: |
01/03: hydra: sysadmin: Enable Avahi on build machines. |
Date: |
Tue, 1 Dec 2020 05:55:30 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository maintenance.
commit d27c74ca2b6dadff8ff07457e4b2e817a9c2a32a
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Tue Dec 1 11:46:58 2020 +0100
hydra: sysadmin: Enable Avahi on build machines.
* hydra/modules/sysadmin/build-machines.scm (build-machine-os): Add Avahi
support.
---
hydra/modules/sysadmin/build-machines.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hydra/modules/sysadmin/build-machines.scm
b/hydra/modules/sysadmin/build-machines.scm
index c7b1a78..8f7d097 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -21,6 +21,7 @@
#:use-module (gnu)
#:use-module (gnu bootloader)
#:use-module (gnu bootloader grub)
+ #:use-module (gnu services avahi)
#:use-module (gnu services base)
#:use-module (gnu services ssh)
#:use-module (gnu services mcron)
@@ -56,6 +57,7 @@ HOST-NAME and accessibly by SYSADMINS, with the given
AUTHORIZED-GUIX-KEYS."
(timezone "Europe/Paris")
(locale "en_US.UTF-8")
+ (name-service-switch %mdns-host-lookup-nss)
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
@@ -68,6 +70,8 @@ HOST-NAME and accessibly by SYSADMINS, with the given
AUTHORIZED-GUIX-KEYS."
(services (cons* (service sysadmin-service-type sysadmins)
(service openssh-service-type)
(service dhcp-client-service-type)
+ (service avahi-service-type
+ (avahi-configuration (debug? #t)))
(service mcron-service-type (list gc-job))
(modify-services %base-services
(guix-service-type config =>