summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-02 22:04:17 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-02 22:25:12 +0100
commite9b8212414ce9eb113ab36c2353d0bfa1a1acab4 (patch)
tree5e2a1901e1a23e112f50e5c127d8b6b33774e2f6 /gnu/services
parent87f40011462eea9142de9853377b2cee3c0df785 (diff)
downloadguix-e9b8212414ce9eb113ab36c2353d0bfa1a1acab4.tar.gz
services: slim: Add xterm to the system profile.
* gnu/services/xorg.scm (slim-service-type): Extend
  PROFILE-SERVICE-TYPE.
* gnu/system/examples/desktop.tmpl (packages): Remove XTERM.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/xorg.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 639a541777..f4bc8245f5 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -309,7 +309,12 @@ reboot_cmd " dmd "/sbin/reboot\n"
                  (list (service-extension dmd-root-service-type
                                           slim-dmd-service)
                        (service-extension pam-root-service-type
-                                          slim-pam-service)))))
+                                          slim-pam-service)
+
+                       ;; Unconditionally add xterm to the system profile, to
+                       ;; avoid bad surprises.
+                       (service-extension profile-service-type
+                                          (const (list xterm)))))))
 
 (define* (slim-service #:key (slim slim)
                        (allow-empty-passwords? #t) auto-login?