From 335748e94172717166fa5c207a87b1369f264f4e Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Fri, 17 Oct 2025 22:01:35 +0000 Subject: [PATCH] feat(fish@modules): added eza (ls) and bobthefish --- nix/modules/direnv/home.nix | 1 - nix/modules/fish/home.nix | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/nix/modules/direnv/home.nix b/nix/modules/direnv/home.nix index 5c0060c..365c728 100644 --- a/nix/modules/direnv/home.nix +++ b/nix/modules/direnv/home.nix @@ -15,7 +15,6 @@ in programs.direnv = { enable = true; # enableBashIntegration = true; # see note on other shells below - enableFishIntegration = true; nix-direnv.enable = true; }; }; diff --git a/nix/modules/fish/home.nix b/nix/modules/fish/home.nix index 7bee096..ca0db0c 100644 --- a/nix/modules/fish/home.nix +++ b/nix/modules/fish/home.nix @@ -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 = [ ]; + }; }; }; }