feat(fish@modules): added eza (ls) and bobthefish

This commit is contained in:
2025-10-17 22:01:35 +00:00
parent 2800ef59bf
commit 335748e941
2 changed files with 30 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ in
programs.direnv = { programs.direnv = {
enable = true; enable = true;
# enableBashIntegration = true; # see note on other shells below # enableBashIntegration = true; # see note on other shells below
enableFishIntegration = true;
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
}; };

View File

@@ -1,4 +1,10 @@
{ config, lib, ... }: {
config,
lib,
pkgs,
fetchFromGitHub,
...
}:
let let
cfg = config.modules.fish; cfg = config.modules.fish;
in in
@@ -8,8 +14,29 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.shell.enableFishIntegration = true; home.shell.enableFishIntegration = true;
programs.fish = { programs = {
# enable = true; fish = {
enable = true;
shellInit = ''set -g theme_nerd_fonts yes; set -g theme_color_scheme nord'';
plugins = [
{
name = "bobthefish";
src = pkgs.fetchFromGitHub {
owner = "oh-my-fish";
repo = "theme-bobthefish";
rev = "e3b4d4eafc23516e35f162686f08a42edf844e40";
sha256 = "sha256-cXOYvdn74H4rkMWSC7G6bT4wa9d3/3vRnKed2ixRnuA=";
};
}
];
};
eza = {
enable = true;
enableFishIntegration = true;
icons = "auto";
git = true;
extraOptions = [ ];
};
}; };
}; };
} }