Fix configurations for picom, kitty, and rofi

These configurations were set up wrong, putting the configuration files in
‘config/*’ instead of ‘.config/*’. The
‘home-xdg-configuration-files-service-type’ takes care of putting them in the
right directory.

I didn't know about this service before, it doesn't show up when I ‘guix home
search home’
This commit is contained in:
Tom Willemse 2022-06-13 22:11:10 -07:00
parent 72d65a09e2
commit 051034ba2a
3 changed files with 7 additions and 7 deletions

View file

@ -82,7 +82,7 @@
(home-picom-configuration-config config))))
(define (home-picom-files-service config)
`(("config/picom/picom.conf"
`(("picom/picom.conf"
,(home-picom-config-file config))))
(define (home-picom-profile-service config)
@ -116,7 +116,7 @@
(service-type (name 'home-picom)
(extensions
(list (service-extension
home-files-service-type
home-xdg-configuration-files-service-type
home-picom-files-service)
(service-extension
home-profile-service-type

View file

@ -31,7 +31,7 @@
(string-join (map serialize-kitty-setting (home-kitty-configuration-configuration config)) "\n" 'suffix))
(define (kitty-home-files config)
`(("config/kitty/kitty.conf"
`(("kitty/kitty.conf"
,(mixed-text-file
"kitty.conf"
(serialize-kitty-config config)))))
@ -44,7 +44,7 @@
(name 'home-kitty)
(extensions
(list (service-extension
home-files-service-type
home-xdg-configuration-files-service-type
kitty-home-files)
(service-extension
home-profile-service-type

View file

@ -108,7 +108,7 @@
(string-join (map format-rofi-theme theme) "\n"))
(define (home-rofi-files-service conf)
`(("config/rofi/config.rasi"
`(("rofi/config.rasi"
,(apply mixed-text-file
"config.rasi"
(append
@ -118,7 +118,7 @@
;; Apply theme
(if (not (eq? (home-rofi-configuration-theme conf) '()))
(list "\n@theme \"guix\"\n") '()))))
("config/rofi/guix.rasi"
("rofi/guix.rasi"
,(mixed-text-file
"guix.rasi"
(serialize-rofi-theme
@ -149,7 +149,7 @@
(service-type (name 'home-rofi)
(extensions
(list (service-extension
home-files-service-type
home-xdg-configuration-files-service-type
home-rofi-files-service)
(service-extension
home-profile-service-type