l nm-dmenu: add props to PATH

This commit is contained in:
lassulus 2023-07-15 19:44:41 +02:00
parent 7762c5ff9b
commit dd4c71d142

View file

@ -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 "$@"
''