summaryrefslogtreecommitdiff
path: root/gnu
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
parentdd6b28d18b089235f6a29fc5435d1815cea76309 (diff)
doc: Add services to the configuration template.
* gnu/system/os-config.tmpl (services): New field.
Diffstat (limited to 'gnu')
-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 662f085bfd3..07b099531e6 100644
--- a/gnu/system/os-config.tmpl
+++ b/gnu/system/os-config.tmpl
@@ -1,6 +1,8 @@
1;; This is an operating system configuration template. 1;; This is an operating system configuration template.
2 2
3(use-modules (gnu)) 3(use-modules (gnu))
4(use-service-modules xorg networking dbus avahi)
5(use-package-modules avahi)
4 6
5(operating-system 7(operating-system
6 (host-name "antelope") 8 (host-name "antelope")
@@ -31,4 +33,12 @@
31 ;; and access the webcam. 33 ;; and access the webcam.
32 (supplementary-groups '("wheel" 34 (supplementary-groups '("wheel"
33 "audio" "video")) 35 "audio" "video"))
34 (home-directory "/home/alice"))))) 36 (home-directory "/home/alice"))))
37
38 ;; Add services to the baseline: the SLiM log-in manager
39 ;; for Xorg sessions, a DHCP client, Avahi, and D-Bus.
40 (services (cons* (slim-service)
41 (dhcp-client-service)
42 (avahi-service)
43 (dbus-service (list avahi))
44 %base-services)))