nushell: slṕlit up configuration

This commit is contained in:
Charlie Root 2024-09-15 21:01:17 +02:00
commit c2959b633b
4 changed files with 2 additions and 66 deletions

View file

@ -20,7 +20,7 @@
overlayAttrs = config.packages;
packages = {
nushell = import ./extraPackages/nushell-wrapped.nix {inherit inputs lib pkgs;};
nushell = import ./extraPackages/nushell {inherit inputs lib pkgs;};
helix = import ./extraPackages/helix-wrapped.nix {inherit inputs inputs' lib pkgs;};
};
};

View file

@ -1,61 +0,0 @@
{
inputs,
lib,
pkgs,
...
}: let
nushell-wrapped = inputs.wrapper-manager.lib.build {
inherit pkgs;
modules = [
{
wrappers.nushell-wrapped = {
basePackage = pkgs.nushell;
pathAdd = with pkgs; [
# better cd
zoxide
#better ls
eza
# better grep
ripgrep
# better dig
dogdns
# simply the best fetch tool out there
microfetch
fzf
iputils
gnumake
gping
asciinema
inetutils
scc
onefetch
wget
cpufetch
yt-dlp
tealdeer
glow
hyperfine
imagemagick
ffmpeg-full
catimg
nmap
wget
fd
jq
rsync
figlet
unzip
zip
];
};
}
];
};
in
nushell-wrapped

View file

@ -18,9 +18,7 @@
{
wrappers.nushell-wrapped = {
basePackage = pkgs.nushell;
pathAdd = [
packages
];
pathAdd = packages;
};
}
];

View file

@ -18,7 +18,6 @@
fzf
cpc
difftastic
hexyl
gitui