1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: plasma-desktop: Enable udev configurations.

* gnu/services/desktop.scm (plasma-udev-configurations): New variable.
(plasma-desktop-service-type): Extend udev-service-type with it.

Change-Id: Ifcf08c731b1173c9c811b22744072538e4df7e36
This commit is contained in:
Sughosha
2026-03-08 12:08:06 +05:30
parent 4b58dad42b
commit 249f30462b

View File

@@ -2362,6 +2362,15 @@ rules."
"plasma-workspace"
"powerdevil"))))
(define (plasma-udev-configurations config)
"Return the list of KDE Plasma dependencies that provide udev rules and
hardware files."
(let ((plasma-plasma (plasma-package config)))
(map (lambda (name)
((package-direct-input-selector name) plasma-plasma))
'("bolt" ;for plasma-thunderbolt
"fwupd")))) ;for kinfocenter and discover
;; see https://bugs.kde.org/show_bug.cgi?id=456210
;; if `kde' no exits, fallback to `other', and then unlock lockscreen not work,
;; so add it.
@@ -2380,6 +2389,8 @@ rules."
plasma-dbus-service)
(service-extension pam-root-service-type
plasma-pam-services)
(service-extension udev-service-type
plasma-udev-configurations)
(service-extension profile-service-type
(compose list
plasma-package))))))