{pkgs, ...}: { home = { packages = with pkgs; [ bat fd fzf grc ]; sessionVariables = { GOPATH = "$HOME/.go"; }; sessionPath = [ "/opt/homebrew/bin" "$HOME/.local/bin" "$HOME/.go/bin" "$HOME/.bun/bin" ]; }; programs = { zsh = { enable = true; initContent = '' if [[ -o interactive ]] && command -v fish >/dev/null; then exec fish fi ''; }; fish = { enable = true; interactiveShellInit = '' set fish_greeting if command -q nix-your-shell nix-your-shell fish | source end if test -d ~/Mail for inbox in ~/Mail/*/Inbox/new ~/Mail/*/INBOX/new ~/Mail/*/inbox/new if test (count $inbox/*) -gt 0 echo "You have synced mail." break end end end ''; plugins = [ { name = "fzf-fish"; src = pkgs.fishPlugins.fzf-fish.src; } { name = "grc"; src = pkgs.fishPlugins.grc.src; } ]; }; starship.enable = true; }; }