mirror of
https://github.com/nix-community/home-manager
synced 2024-11-13 22:59:44 +01:00
19 lines
390 B
Nix
19 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}
|
||
|
'';
|
||
|
}
|