home-manager/tests/modules/services/mpd-mpris/configuration-basic.nix
2023-02-20 23:43:42 +01:00

13 lines
249 B
Nix

{ ... }:
{
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}
'';
}