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"
|
||||
(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.")))
|
||||
|
|
Loading…
Reference in a new issue