programs.kodi.enable
Whether to enable Kodi.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.kodi.package
The kodi package to use. Can be used to specify extensions.
Type: package
Default:
pkgs.kodi
Example:
pkgs.kodi.withPackages (exts: [ exts.pvr-iptvsimple ])
Declared by:
programs.kodi.addonSettings
Attribute set with the plugin namespace as toplevel key and the plugins settings as lower level key/value pairs.
Kodi will still show the settings of plugins configured via this mechanism in the GUI and they appear to be mutable. This however is not the case and the settings will stay as specified via Home Manager.
Type: null or (attribute set of attribute set of string)
Default:
null
Example:
{
"service.xbmc.versioncheck" = {
versioncheck_enable = "false";
};
}
Declared by:
programs.kodi.datadir
Directory to store configuration and metadata.
Type: absolute path
Default:
"${config.home.homeDirectory}/.kodi"
Example:
"${config.xdg.dataHome}/kodi"
Declared by:
programs.kodi.settings
Configuration to write to the advancedsettings.xml
file in kodis userdata directory. Settings specified here will be
immutable from inside kodi and be hidden from the GUI settings dialog.
See https://kodi.wiki/view/Advancedsettings.xml as reference for how settings need to be specified.
The innermost attributes must be of type str.
Type: null or attribute sets or lists of strings
Default:
null
Example:
{
videolibrary = {
showemptytvshows = "true";
};
}
Declared by:
programs.kodi.sources
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.
Type: null or attribute sets or lists of strings
Default:
null
Example:
{
video = {
default = "movies";
source = [
{ name = "videos"; path = "/path/to/videos"; allowsharing = "true"; }
{ name = "movies"; path = "/path/to/movies"; allowsharing = "true"; }
];
};
}
Declared by: