1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 16:59:43 +01:00
home-manager/tests/modules/programs/kodi/example-settings.nix
Daniel Wagenknecht cbc176010b
kodi: add module
Kodi is a media center software.
2022-01-26 23:56:25 +01:00

16 lines
321 B
Nix

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