Contents to populate the file
sources.xml in kodis userdata directory.
See https://kodi.wiki/view/Sources.xml as reference for how sources need to be specified.
Kodi will still show the dialogs to modify sources in the GUI and they appear to be mutable. This however is not the case and the sources will stay as specified via Home Manager.
The innermost attributes must be of type str.