1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 07:09:45 +01:00
home-manager/tests/modules/programs/kodi/example-addon-settings.nix

19 lines
390 B
Nix
Raw Normal View History

{ 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}
'';
}