shell-tools update

This commit is contained in:
John Lancaster
2026-04-19 14:02:35 -05:00
parent 93e58c341d
commit e9d585f8d0
4 changed files with 42 additions and 53 deletions
+31 -14
View File
@@ -11,9 +11,6 @@
imports = with inputs.self.modules.homeManager; [
bash
zsh
# Tools
eza
files
];
@@ -21,21 +18,41 @@
home.shell.enableShellIntegration = true;
programs.zsh.enable = lib.mkForce (config.shell.program == "zsh");
home.packages = with pkgs; [
nh
nvd
nix-output-monitor
wget
curl
busybox
gnugrep
dig
btop
uv
xclip
jq
ripgrep
(writeShellScriptBin "ds" ''${lib.getExe pkgs.gdu} -x -I /snap /'')
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.shell-tools
];
};
};
perSystem = { system, pkgs, self', ... }: {
packages.shell-tools = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
binName = "wrapped-hello";
package = (pkgs.symlinkJoin {
name = "shell-tools";
paths = with pkgs; [
nh
ripgrep
fd
jq
wget
curl
dig
self'.packages.gdu
self'.packages.my-eza
hostname
iproute2
direnv
];
});
};
packages.gdu = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
package = pkgs.gdu;
args = [ "-x" "--si" "--collapse-path" "--mouse" "$@" ];
};
};
}