mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 16:59:43 +01:00
20 lines
351 B
Nix
20 lines
351 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
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}
|
||
|
'';
|
||
|
}
|