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

View file

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

View file

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