1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00
home-manager/tests/modules/programs/kodi/example-addon-settings.nix
Daniel Wagenknecht cbc176010b
kodi: add module
Kodi is a media center software.
2022-01-26 23:56:25 +01:00

18 lines
390 B
Nix

{ config, ... }:
{
programs.kodi = {
enable = true;
package = config.lib.test.mkStubPackage { };
addonSettings = {
"service.xbmc.versioncheck".versioncheck_enable = "false";
};
};
nmt.script = ''
assertFileContent \
home-files/.kodi/userdata/addon_data/service.xbmc.versioncheck/settings.xml \
${./example-addon-settings-expected.xml}
'';
}