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