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 # This module provides all the shell options
{ self, inputs, ... }: { { self, inputs, ... }:
flake.modules.homeManager.shell-tools = { config, pkgs, ... }: { {
flake.modules.homeManager.shell-tools =
{ config, pkgs, ... }:
{
imports = with inputs.self.modules.homeManager; [ imports = with inputs.self.modules.homeManager; [
# bash # bash
zsh zsh
@@ -17,11 +20,19 @@
home.shell.enableShellIntegration = true; home.shell.enableShellIntegration = true;
}; };
perSystem = { system, pkgs, self', ... }: { perSystem =
{
system,
pkgs,
self',
...
}:
{
packages.shell-tools = inputs.wrappers.lib.wrapPackage { packages.shell-tools = inputs.wrappers.lib.wrapPackage {
inherit pkgs; inherit pkgs;
# binName = "show-tools"; # binName = "show-tools";
package = (pkgs.symlinkJoin { package = (
pkgs.symlinkJoin {
name = "show-tools"; name = "show-tools";
meta.mainProgram = "show-tools"; meta.mainProgram = "show-tools";
paths = with pkgs; [ paths = with pkgs; [
@@ -32,8 +43,10 @@
wget wget
curl curl
dig dig
bat
self'.packages.gdu self'.packages.gdu
self'.packages.my-eza self'.packages.my-eza
self'.packages.yazi
hostname hostname
iproute2 iproute2
direnv direnv
@@ -51,13 +64,20 @@
''; '';
}) })
]; ];
}); }
);
}; };
packages.gdu = inputs.wrappers.lib.wrapPackage { packages.gdu = inputs.wrappers.lib.wrapPackage {
inherit pkgs; inherit pkgs;
package = pkgs.gdu; package = pkgs.gdu;
args = [ "-x" "--si" "--collapse-path" "--mouse" "$@" ]; args = [
"-x"
"--si"
"--collapse-path"
"--mouse"
"$@"
];
}; };
}; };
} }
-1
View File
@@ -143,7 +143,6 @@ in
devenv devenv
self'.packages.shell-tools self'.packages.shell-tools
self'.packages.neovim-min self'.packages.neovim-min
self'.packages.yazi
]; ];
}).wrapper; }).wrapper;
}; };