1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-09 22:58:43 +02:00
home-manager/tests/modules/services/pasystray/service.nix

20 lines
351 B
Nix
Raw Normal View History

{ ... }:
{
services.pasystray = {
enable = true;
extraOptions = [ "-g" ];
};
test.stubs = {
pasystray = { };
paprefs = { };
pavucontrol = { };
};
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/pasystray.service)
assertFileContent "$serviceFile" ${./expected.service}
'';
}