mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-06 16:57:03 +00: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.
(cherry picked from commit 604fc92943
)
This commit is contained in:
parent
708de1ac8d
commit
17aaf04f72
1 changed files with 1 additions and 1 deletions
|
@ -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'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue