1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 19:29:47 +01:00
home-manager/tests/modules/programs/kodi/example-settings.nix

17 lines
321 B
Nix
Raw Normal View History

{ config, ... }:
{
programs.kodi = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = { videolibrary.showemptytvshows = "true"; };
};
nmt.script = ''
assertFileContent \
home-files/.kodi/userdata/advancedsettings.xml \
${./example-settings-expected.xml}
'';
}