depot/third_party/home-manager/tests/modules/services/mpd-mpris/configuration-with-local-mpd.nix

16 lines
289 B
Nix
Raw Normal View History

{ ... }:
{
services.mpd-mpris = {
enable = true;
mpd.useLocal = true;
};
test.stubs.mpd-mpris = { };
nmt.script = ''
serviceFile=home-files/.config/systemd/user/mpd-mpris.service
assertFileContent "$serviceFile" ${./configuration-with-local-mpd.service}
'';
}