mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
pasystray: add paprefs and pavucontrol
This enables the "volume control" and "control local sound server" menu options. Fixes #461
This commit is contained in:
@@ -24,6 +24,11 @@ with lib;
|
||||
};
|
||||
|
||||
Service = {
|
||||
Environment =
|
||||
let
|
||||
toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ];
|
||||
in
|
||||
[ "PATH=${toolPaths}" ];
|
||||
ExecStart = "${pkgs.pasystray}/bin/pasystray";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user