Install kitty when the kitty service is used

This commit is contained in:
Tom Willemse 2022-04-05 00:54:09 -07:00
parent b11545014e
commit 19043b82ae

View file

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