fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Daniel Wagenknechtkodi: add modulecbc17601

master
610 B33 linesraw
1{ config, ... }:
2
3{
4  programs.kodi = {
5    enable = true;
6    package = config.lib.test.mkStubPackage { };
7
8    sources = {
9      video = {
10        default = "movies";
11        source = [
12          {
13            name = "videos";
14            path = "/path/to/videos";
15            allowsharing = "true";
16          }
17          {
18            name = "movies";
19            path = "/path/to/movies";
20            allowsharing = "true";
21          }
22        ];
23      };
24    };
25
26  };
27
28  nmt.script = ''
29    assertFileContent \
30      home-files/.kodi/userdata/sources.xml \
31      ${./example-sources-expected.xml}
32  '';
33}