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

@@ -1,4 +1,10 @@
{ config, lib, ... }:
{
config,
lib,
pkgs,
fetchFromGitHub,
...
}:
let
cfg = config.modules.fish;
in
@@ -8,8 +14,29 @@ in
};
config = lib.mkIf cfg.enable {
home.shell.enableFishIntegration = true;
programs.fish = {
# enable = true;
programs = {
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 = [ ];
};
};
};
}