doc: Add services to the configuration template.

* gnu/system/os-config.tmpl (services): New field.
This commit is contained in:
Ludovic Courtès 2015-01-23 15:12:26 +01:00
parent dd6b28d18b
commit 53a7a01675
1 changed files with 11 additions and 1 deletions

View File

@ -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)))