moved yazi to shell-tools

This commit is contained in:
John Lancaster
2026-06-10 08:53:21 -05:00
parent f2254e5dc7
commit 244c60d9cd
2 changed files with 73 additions and 54 deletions
+26 -6
View File
@@ -1,6 +1,9 @@
# This module provides all the shell options
{ self, inputs, ... }: {
flake.modules.homeManager.shell-tools = { config, pkgs, ... }: {
{ self, inputs, ... }:
{
flake.modules.homeManager.shell-tools =
{ config, pkgs, ... }:
{
imports = with inputs.self.modules.homeManager; [
# bash
zsh
@@ -17,11 +20,19 @@
home.shell.enableShellIntegration = true;
};
perSystem = { system, pkgs, self', ... }: {
perSystem =
{
system,
pkgs,
self',
...
}:
{
packages.shell-tools = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
# binName = "show-tools";
package = (pkgs.symlinkJoin {
package = (
pkgs.symlinkJoin {
name = "show-tools";
meta.mainProgram = "show-tools";
paths = with pkgs; [
@@ -32,8 +43,10 @@
wget
curl
dig
bat
self'.packages.gdu
self'.packages.my-eza
self'.packages.yazi
hostname
iproute2
direnv
@@ -51,13 +64,20 @@
'';
})
];
});
}
);
};
packages.gdu = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
package = pkgs.gdu;
args = [ "-x" "--si" "--collapse-path" "--mouse" "$@" ];
args = [
"-x"
"--si"
"--collapse-path"
"--mouse"
"$@"
];
};
};
}
-1
View File
@@ -143,7 +143,6 @@ in
devenv
self'.packages.shell-tools
self'.packages.neovim-min
self'.packages.yazi
];
}).wrapper;
};