wrapped fish: init

This commit is contained in:
Charlie Root 2024-09-22 01:46:52 +02:00
commit ea3da7ddc6
4 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
programs.command-not-found = {
enable = true;
dbPath = pkgs.sqlite;
};
}

View file

@ -0,0 +1,16 @@
{pkgs, ...}: {
programs = {
command-not-found = {
# TODO fix this
enable = false;
dbPath = pkgs.sqlite;
};
nix-index = {
enable = true;
package = pkgs.nix-index;
enableBashIntegration = true;
enableZshIntegration = true;
enableFishIntegration = true;
};
};
}

View file

@ -0,0 +1,31 @@
{
inputs,
lib,
pkgs,
...
}: let
inherit (lib) concatStringsSep mapAttrsToList;
aliases = import ./aliases.nix {inherit pkgs;};
aliasesAsString =
concatStringsSep "\n"
(mapAttrsToList (k: v: "alias ${k}=\"${v}\"") aliases);
packages = import ./packages.nix {inherit pkgs;};
fish-wrapped = inputs.wrapper-manager.lib.build {
inherit pkgs;
modules = [
{
wrappers.fish-wrapped = {
basePackage = pkgs.fish;
pathAdd = packages;
flags = [
];
};
}
];
};
in
fish-wrapped

View file

@ -0,0 +1,50 @@
{pkgs}: (with pkgs; [
# better cd
zoxide
#better ls
eza
# better cat
bat
# better grep
ripgrep
# better dig
dogdns
# simply the best fetch tool out there
microfetch
fzf
carapace
difftastic
hexyl
gitui
iputils
gnumake
gping
asciinema
inetutils
scc
starship
onefetch
wget
cpufetch
yt-dlp
tealdeer
glow
hyperfine
imagemagick
ffmpeg-full
catimg
nmap
wget
fd
jq
rsync
figlet
unzip
zip
])