2020-08-26 21:20:54 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.ncmpcpp.enable = true;
|
|
|
|
|
|
|
|
services.mpd.enable = true;
|
|
|
|
services.mpd.musicDirectory = "/home/user/music";
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs = {
|
|
|
|
ncmpcpp = { };
|
|
|
|
mpd = { };
|
|
|
|
};
|
2020-08-26 21:20:54 +02:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/ncmpcpp/config \
|
|
|
|
${./ncmpcpp-use-mpd-config-expected-config}
|
|
|
|
|
|
|
|
assertPathNotExists home-files/.config/ncmpcpp/bindings
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|