aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-08-22 01:14:47 +0200
committerLudovic Courtès <ludo@gnu.org>2023-08-22 01:14:47 +0200
commit30355c17d7b7eaeb16976c1432d660cb0783014a (patch)
treeee2f54438054208b6b028924e4ec81b2b8f035b5 /gnu/system/examples
parenta08592b055e9b6d9baf704e2405ba9ae38215e62 (diff)
downloadguix-30355c17d7b7eaeb16976c1432d660cb0783014a.tar
guix-30355c17d7b7eaeb16976c1432d660cb0783014a.tar.gz
examples: Avoid duplicate SDDM service for Plasma on aarch64-linux.
This is a followup to cf28f46930f1ea4087d84c162cfacfcdff842b1f. * gnu/system/examples/plasma.tmpl (services): Remove both 'gdm-service-type' and 'sddm-service-type' from %DESKTOP-SERVICES.
Diffstat (limited to 'gnu/system/examples')
-rw-r--r--gnu/system/examples/plasma.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/system/examples/plasma.tmpl b/gnu/system/examples/plasma.tmpl
index b29b6a0535..6395991125 100644
--- a/gnu/system/examples/plasma.tmpl
+++ b/gnu/system/examples/plasma.tmpl
@@ -58,10 +58,11 @@
(sddm-configuration
(theme "breeze")))
- ;; Remove GDM if it's among %DESKTOP-SERVICES (on some
- ;; architectures it's not there).
+ ;; Remove GDM if it's among %DESKTOP-SERVICES; on other
+ ;; architectures, %DESKTOP-SERVICES contains SDDM instead.
(remove (lambda (service)
- (eq? (service-kind service) gdm-service-type))
+ (memq (service-kind service)
+ (list gdm-service-type sddm-service-type)))
%desktop-services)))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))