guix-commits
[Top][All Lists]
Advanced

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

05/16: doc: Add services to the configuration template.


From: Ludovic Courtès
Subject: 05/16: doc: Add services to the configuration template.
Date: Fri, 23 Jan 2015 15:38:59 +0000

civodul pushed a commit to branch master
in repository guix.

commit 53a7a01675ca290c965b2f26393edd11b688cdaa
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jan 23 15:12:26 2015 +0100

    doc: Add services to the configuration template.
    
    * gnu/system/os-config.tmpl (services): New field.
---
 gnu/system/os-config.tmpl |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/gnu/system/os-config.tmpl b/gnu/system/os-config.tmpl
index 662f085..07b0995 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)))



reply via email to

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