mirror of
https://github.com/nix-community/home-manager
synced 2024-11-15 23:59: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:
parent
008d93928f
commit
604fc92943
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ in
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
Environment = "PATH=${cfg.package}/bin";
|
Environment = "PATH=${cfg.package}/bin:/run/wrappers/bin";
|
||||||
ExecStart = ''${pkgs.writeScriptBin "polybar-start" script}/bin/polybar-start'';
|
ExecStart = ''${pkgs.writeScriptBin "polybar-start" script}/bin/polybar-start'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue