summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-23 15:12:26 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-23 16:29:17 +0100
commit53a7a01675ca290c965b2f26393edd11b688cdaa (patch)
tree0dea1bef30634f57f2a14eba5b6ed8299d4c646c /gnu/system
parentdd6b28d18b089235f6a29fc5435d1815cea76309 (diff)
downloadpatches-53a7a01675ca290c965b2f26393edd11b688cdaa.tar
patches-53a7a01675ca290c965b2f26393edd11b688cdaa.tar.gz
doc: Add services to the configuration template.
* gnu/system/os-config.tmpl (services): New field.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/os-config.tmpl12
1 files changed, 11 insertions, 1 deletions
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)))