From f4af8151de4f337863da6ff2f93756e826bafc7b Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 30 Nov 2018 23:43:26 +0100 Subject: [PATCH] pasystray: add paprefs and pavucontrol This enables the "volume control" and "control local sound server" menu options. Fixes #461 (cherry picked from commit 6d2f16a7ae839438b0d67886bf8fd58192968bf0) --- modules/services/pasystray.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/pasystray.nix b/modules/services/pasystray.nix index da0436b6..8f92f34c 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"; }; };