mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 21:23:38 +00:00
19 lines
426 B
Nix
19 lines
426 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.mpdris2 = {
|
|
enable = true;
|
|
notifications = true;
|
|
multimediaKeys = true;
|
|
};
|
|
|
|
test.stubs.mpdris2 = { };
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/mpdris2.service
|
|
assertFileContent "$serviceFile" ${./basic-configuration.service}
|
|
|
|
configFile=home-files/.config/mpDris2/mpDris2.conf
|
|
assertFileContent "$configFile" ${./basic-configuration.config}
|
|
'';
|
|
}
|