services: Use alist of alists for ini-file.

This unifies the style with other serializers.
This commit is contained in:
Hilton Chain committed 2026-07-23 04:53:28 +08:00
1 parent 87d4e55ea4
commit 42269efc67
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -39,13 +39,15 @@
(if (null? config) (if (null? config)
'() '()
`(("gtk-3.0/settings.ini" `(("gtk-3.0/settings.ini"
,(ini-file "settings.ini" #~'(("Settings" #$@config))))))) ,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define (home-gtk4-xdg-configuration-files config) (define (home-gtk4-xdg-configuration-files config)
(if (null? config) (if (null? config)
'() '()
`(("gtk-4.0/settings.ini" `(("gtk-4.0/settings.ini"
,(ini-file "settings.ini" #~'(("Settings" #$@config))))))) ,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define home-gtk2-service-type (define home-gtk2-service-type
(service-type (service-type
+1 -1
View File
@@ -550,7 +550,7 @@ compositor.")))
(icon-theme) (icon-theme)
(ini-file "index.theme" (ini-file "index.theme"
#~'(("icon theme" #~'(("icon theme"
("Inherits" . #$icon-theme)))))) . (("Inherits" . #$icon-theme)))))))
(define (home-theme-files config) (define (home-theme-files config)
`((".icons/default/index.theme" `((".icons/default/index.theme"