From 6d2f16a7ae839438b0d67886bf8fd58192968bf0 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 --- modules/services/pasystray.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/pasystray.nix b/modules/services/pasystray.nix index da0436b66..8f92f34c0 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"; }; };