1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-29 13:19:47 +01:00
home-manager/tests/modules/programs/ncmpcpp-linux/ncmpcpp-use-mpd-config.nix

24 lines
440 B
Nix
Raw Normal View History

2020-08-26 21:20:54 +02:00
{ pkgs, ... }:
{
config = {
programs.ncmpcpp.enable = true;
services.mpd.enable = true;
services.mpd.musicDirectory = "/home/user/music";
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
'';
};
}