diff --git a/common/cli.nix b/common/cli.nix index 9782eab..68d1ef7 100644 --- a/common/cli.nix +++ b/common/cli.nix @@ -1,5 +1,6 @@ { pkgs, + userPkgs, ... }: { @@ -22,4 +23,19 @@ ouch ; }; + programs.yazi = { + enable = true; + plugins = { + inherit (pkgs.yaziPlugins) + lazygit + chmod + diff + mediainfo + smart-enter + full-border + wl-clipboard + ; + fr = pkgs.callPackage userPkgs.fr-yazi { }; + }; + }; } diff --git a/pkg/fr-yazi.nix b/pkg/fr-yazi.nix new file mode 100644 index 0000000..7a72a91 --- /dev/null +++ b/pkg/fr-yazi.nix @@ -0,0 +1,14 @@ +{ + pkgs, + ... +}: +pkgs.yaziPlugins.mkYaziPlugin { + pname = "fr.yazi"; + version = "dirty-15-07-2025"; + src = pkgs.fetchFromGitHub { + owner = "lpnh"; + repo = "fr.yazi"; + rev = "3d32e55b7367334abaa91f36798ef723098d0a6b"; + hash = "sha256-CrKwFMaiEK+TNW6GRZzyt9MfOmjIb3vw0hBpBXyn16k="; + }; +}