1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00
home-manager/tests/modules/programs/kodi/example-settings.nix

17 lines
321 B
Nix
Raw Permalink 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}
'';
}