From 42269efc6724448714fc777093ce3a060f113ad5 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 23 Jul 2026 04:51:12 +0800 Subject: [PATCH] services: Use alist of alists for ini-file. This unifies the style with other serializers. --- modules/rosenthal/home/services/gtk.scm | 6 ++++-- modules/rosenthal/services/desktop.scm | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/rosenthal/home/services/gtk.scm b/modules/rosenthal/home/services/gtk.scm index bb158ad..6127d19 100644 --- a/modules/rosenthal/home/services/gtk.scm +++ b/modules/rosenthal/home/services/gtk.scm @@ -39,13 +39,15 @@ (if (null? config) '() `(("gtk-3.0/settings.ini" - ,(ini-file "settings.ini" #~'(("Settings" #$@config))))))) + ,(ini-file "settings.ini" + #~'(("Settings" . #$config))))))) (define (home-gtk4-xdg-configuration-files config) (if (null? config) '() `(("gtk-4.0/settings.ini" - ,(ini-file "settings.ini" #~'(("Settings" #$@config))))))) + ,(ini-file "settings.ini" + #~'(("Settings" . #$config))))))) (define home-gtk2-service-type (service-type diff --git a/modules/rosenthal/services/desktop.scm b/modules/rosenthal/services/desktop.scm index 3dc5b21..8f0ce88 100644 --- a/modules/rosenthal/services/desktop.scm +++ b/modules/rosenthal/services/desktop.scm @@ -550,7 +550,7 @@ compositor."))) (icon-theme) (ini-file "index.theme" #~'(("icon theme" - ("Inherits" . #$icon-theme)))))) + . (("Inherits" . #$icon-theme))))))) (define (home-theme-files config) `((".icons/default/index.theme"