diff options
author | Robert Helgesson <robert@rycee.net> | 2018-11-30 23:43:26 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2018-11-30 23:43:26 +0100 |
commit | 6d2f16a7ae839438b0d67886bf8fd58192968bf0 (patch) | |
tree | 135b48a4caef9038cece599001086bb8c7c784b7 /modules/services/pasystray.nix | |
parent | 40b279e3a33fd47b7e65e0303fcb9be621aeb7d3 (diff) |
pasystray: add paprefs and pavucontrol
This enables the "volume control" and "control local sound server"
menu options.
Fixes #461
Diffstat (limited to 'modules/services/pasystray.nix')
-rw-r--r-- | modules/services/pasystray.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/services/pasystray.nix b/modules/services/pasystray.nix index da0436b665a..8f92f34c091 100644 --- a/modules/services/pasystray.nix +++ b/modules/services/pasystray.nix @@ -24,6 +24,11 @@ with lib; }; Service = { + Environment = + let + toolPaths = makeBinPath [ pkgs.paprefs pkgs.pavucontrol ]; + in + [ "PATH=${toolPaths}" ]; ExecStart = "${pkgs.pasystray}/bin/pasystray"; }; }; |