1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 17:23:53 +00:00
ultima/modules/home/shells/zsh/plugins.nix
2024-11-21 18:24:15 +09:00

58 lines
1.5 KiB
Nix

{ pkgs, True, ... }: {
programs.zsh = with pkgs; {
oh-my-zsh = True // { plugins = [ "git" "eza" "colored-man-pages" ]; };
plugins = let
s = "share";
rev = "main";
in [
# FROM REPO
# {
# name = "zsh-powerlevel10k";
# file = "${s}/zsh-powerlevel10k/powerlevel10k.zsh-theme";
# src = zsh-powerlevel10k;
# }
{
name = "zsh-fzf-tab";
file = "${s}/fzf-tab/fzf-tab.plugin.zsh";
src = zsh-fzf-tab;
}
{
name = "zsh-autopair";
file = "${s}/zsh/zsh-autopair/autopair.zsh";
src = zsh-autopair;
}
# FROM GITHUB
# {
# name = "zsh-allclear";
# file = "zsh-allclear.plugin.zsh";
# src = fetchFromSourcehut {
# owner = "~azikx";
# repo = "zsh_helix";
# sha256 = "sha256-vIPkP1soUtnMcwTlwiTP68AwI3DpkMuj614afS37IIs=";
# inherit rev;
# };
# }
{
name = "eza-zsh";
file = "eza-zsh.plugin.zsh";
src = fetchFromGitHub {
owner = "MohamedElashri";
repo = "eza-zsh";
sha256 = "sha256-ee56D48unp/Bm1EA2/pYYYJZ8Fdtbu0LsUGHfGlRNK8=";
inherit rev;
};
}
{
name = "helix-mode";
file = "helix-mode.zsh";
src = fetchFromGitHub {
owner = "allomanta";
repo = "zsh-helix-mode";
rev = "f5e6cb94fa77f5fa0762b9b2c7c818e8ae87d22e";
hash = "sha256-oDRk9JK5agM1Izc6FWf+i6bRKhK3uohG9Cnco3dJwP8=";
};
}
];
};
}