2020-10-12 00:22:58 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.ncmpcpp.enable = true;
|
|
|
|
|
|
|
|
services.mpd.enable = true;
|
|
|
|
services.mpd.musicDirectory = "/home/user/music";
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
test.stubs = {
|
|
|
|
ncmpcpp = { };
|
|
|
|
mpd = { };
|
|
|
|
};
|
2020-10-12 00:22:58 +00:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/ncmpcpp/config \
|
|
|
|
${./ncmpcpp-use-mpd-config-expected-config}
|
|
|
|
|
|
|
|
assertPathNotExists home-files/.config/ncmpcpp/bindings
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|