mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +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}
|
||
|
'';
|
||
|
}
|