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