hand7s: migrate from ${pkgs}/bin/ paths to ${lib.getExe pkgs}

Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
s0me1newithhand7s 2025-06-13 13:06:24 +03:00
parent fc182636e3
commit e897fb4e87
No known key found for this signature in database
13 changed files with 86 additions and 86 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs,lib, ...}: {
programs = {
yazi = {
enable = true;
@ -26,7 +26,7 @@
opener = {
play = [
{
run = "${pkgs.mpv}/bin/mpv ''$@''";
run = "${lib.getExe pkgs.mpv} ''$@''";
block = true;
for = "unix";
}
@ -34,7 +34,7 @@
edit = [
{
run = "${pkgs.helix}/bin/hx ''$@''";
run = "${lib.getExe pkgs.helix} ''$@''";
block = true;
for = "unix";
}
@ -42,7 +42,7 @@
open = [
{
run = "${pkgs.xdg-utils}/bin/xdg-open ''$@''";
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
block = true;
for = "unix";
}