1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-22 17:59:48 +01:00
home-manager/tests/modules/services/mpd-mpris/configuration-with-local-mpd.nix
2023-02-20 23:43:42 +01:00

15 lines
289 B
Nix

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