Install xmodmap when the xmodmap service is used
This commit is contained in:
parent
19043b82ae
commit
7f5381687d
1 changed files with 7 additions and 1 deletions
|
@ -33,13 +33,19 @@
|
||||||
"Xmodmap"
|
"Xmodmap"
|
||||||
(serialize-xmodmap-config config)))))
|
(serialize-xmodmap-config config)))))
|
||||||
|
|
||||||
|
(define (add-xmodmap-packages config)
|
||||||
|
(list (home-xmodmap-configuration-package config)))
|
||||||
|
|
||||||
(define home-xmodmap-service-type
|
(define home-xmodmap-service-type
|
||||||
(service-type
|
(service-type
|
||||||
(name 'home-xmodmap)
|
(name 'home-xmodmap)
|
||||||
(extensions
|
(extensions
|
||||||
(list (service-extension
|
(list (service-extension
|
||||||
home-files-service-type
|
home-files-service-type
|
||||||
xmodmap-home-files)))
|
xmodmap-home-files)
|
||||||
|
(service-extension
|
||||||
|
home-profile-service-type
|
||||||
|
add-xmodmap-packages)))
|
||||||
(compose identity)
|
(compose identity)
|
||||||
(default-value (home-xmodmap-configuration))
|
(default-value (home-xmodmap-configuration))
|
||||||
(description "Install and configure Xmodmap.")))
|
(description "Install and configure Xmodmap.")))
|
||||||
|
|
Loading…
Reference in a new issue