From 53a7a01675ca290c965b2f26393edd11b688cdaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 23 Jan 2015 15:12:26 +0100 Subject: [PATCH] doc: Add services to the configuration template. * gnu/system/os-config.tmpl (services): New field. --- gnu/system/os-config.tmpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/system/os-config.tmpl b/gnu/system/os-config.tmpl index 662f085bfd..07b099531e 100644 --- a/gnu/system/os-config.tmpl +++ b/gnu/system/os-config.tmpl @@ -1,6 +1,8 @@ ;; This is an operating system configuration template. (use-modules (gnu)) +(use-service-modules xorg networking dbus avahi) +(use-package-modules avahi) (operating-system (host-name "antelope") @@ -31,4 +33,12 @@ ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video")) - (home-directory "/home/alice"))))) + (home-directory "/home/alice")))) + + ;; Add services to the baseline: the SLiM log-in manager + ;; for Xorg sessions, a DHCP client, Avahi, and D-Bus. + (services (cons* (slim-service) + (dhcp-client-service) + (avahi-service) + (dbus-service (list avahi)) + %base-services)))