···230 in
231 toINI_ (gitFlattenAttrs attrs);
23200000000233 /* Generates JSON from an arbitrary (non-function) value.
234 * For more information see the documentation of the builtin.
235 */
···230 in
231 toINI_ (gitFlattenAttrs attrs);
232233+ # mkKeyValueDefault wrapper that handles dconf INI quirks.
234+ # The main differences of the format is that it requires strings to be quoted.
235+ mkDconfKeyValue = mkKeyValueDefault { mkValueString = v: toString (lib.gvariant.mkValue v); } "=";
236+237+ # Generates INI in dconf keyfile style. See https://help.gnome.org/admin/system-admin-guide/stable/dconf-keyfiles.html.en
238+ # for details.
239+ toDconfINI = toINI { mkKeyValue = mkDconfKeyValue; };
240+241 /* Generates JSON from an arbitrary (non-function) value.
242 * For more information see the documentation of the builtin.
243 */