l nm-dmenu: add props to PATH
This commit is contained in:
parent
7762c5ff9b
commit
dd4c71d142
|
@ -1,6 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
pkgs.writeDashBin "nm-dmenu" ''
|
||||
export PATH=$PATH:${pkgs.dmenu}/bin:${pkgs.networkmanagerapplet}/bin
|
||||
export PATH=$PATH:${lib.makeBinPath [
|
||||
pkgs.dmenu
|
||||
pkgs.networkmanagerapplet
|
||||
pkgs.procps
|
||||
]}
|
||||
exec ${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu "$@"
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue