taffybar: include runtime tools on path

This commit is contained in:
2026-05-19 15:00:44 -07:00
parent 875982b6c2
commit beef3f8b84

View File

@@ -9,7 +9,14 @@
system = pkgs.stdenv.hostPlatform.system;
hyprlandPackage = config.programs.hyprland.package;
taffybarPackage = inputs.imalison-taffybar.defaultPackage.${system};
taffybarRuntimePath = lib.makeBinPath [
pkgs.coreutils
pkgs.curl
pkgs.jq
pkgs.systemd
];
taffybarStart = pkgs.writeShellScript "taffybar-start" ''
export PATH="${taffybarRuntimePath}:/run/current-system/sw/bin:''${PATH:-}"
runtime_dir="''${XDG_RUNTIME_DIR:-/run/user/$(${pkgs.coreutils}/bin/id -u)}"
find_hyprland_instance() {