diff options
Diffstat (limited to 'oni/home')
-rw-r--r-- | oni/home/services/xmodmap.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/oni/home/services/xmodmap.scm b/oni/home/services/xmodmap.scm index 53df3e5..ca6d80c 100644 --- a/oni/home/services/xmodmap.scm +++ b/oni/home/services/xmodmap.scm @@ -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."))) |