mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
16 lines
289 B
Nix
16 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}
|
||
|
'';
|
||
|
}
|