summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
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 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)))