From 30355c17d7b7eaeb16976c1432d660cb0783014a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 22 Aug 2023 01:14:47 +0200 Subject: 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. --- gnu/system/examples/plasma.tmpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/system') 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)) -- cgit v1.2.3