home-manager/tests/modules/services/mpd-mpris/configuration-basic.nix

13 lines
249 B
Nix
Raw Normal View History

2022-12-27 17:15:51 +00:00
{ ... }:
{
services.mpd-mpris = { enable = true; };
test.stubs.mpd-mpris = { };
nmt.script = ''
serviceFile=home-files/.config/systemd/user/mpd-mpris.service
assertFileContent "$serviceFile" ${./configuration-basic.service}
'';
}