1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

polybar: add /run/wrappers/bin to PATH

Without this the network module in polybar is unable to check
connection as it invokes 'ping' command directly.
This commit is contained in:
wedens 2018-12-31 19:01:48 +07:00 committed by Robert Helgesson
parent 008d93928f
commit 604fc92943
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -129,7 +129,7 @@ in
Service = {
Type = "forking";
Environment = "PATH=${cfg.package}/bin";
Environment = "PATH=${cfg.package}/bin:/run/wrappers/bin";
ExecStart = ''${pkgs.writeScriptBin "polybar-start" script}/bin/polybar-start'';
};