Install xmodmap when the xmodmap service is used

This commit is contained in:
Tom Willemse 2022-04-05 00:59:59 -07:00
parent 19043b82ae
commit 7f5381687d

View file

@ -33,13 +33,19 @@
"Xmodmap"
(serialize-xmodmap-config config)))))
(define (add-xmodmap-packages config)
(list (home-xmodmap-configuration-package config)))
(define home-xmodmap-service-type
(service-type
(name 'home-xmodmap)
(extensions
(list (service-extension
home-files-service-type
xmodmap-home-files)))
xmodmap-home-files)
(service-extension
home-profile-service-type
add-xmodmap-packages)))
(compose identity)
(default-value (home-xmodmap-configuration))
(description "Install and configure Xmodmap.")))