home, zsh: use omz plugins from pkgs.oh-my-zsh

This commit is contained in:
Guanran Wang 2023-11-20 20:21:55 +08:00
parent 64379f0e6a
commit 53202ed315
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -17,19 +17,8 @@
src = "${pkgs.zsh-fzf-tab}/share/fzf-tab";
}
{
# should I use flake inputs / fetchurl?
name = "sudo";
src =
pkgs.fetchFromGitHub {
owner = "ohmyzsh";
repo = "ohmyzsh";
rev = "f8bf8f0029a475831ebfba0799975ede20e08742";
hash = "sha256-9cJQQycahO+vo/YcAHjF+PVhsWxu7pa4MsK8Dgr69k0=";
sparseCheckout = [
"plugins/sudo"
];
}
+ "/plugins/sudo";
src = "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo";
}
];
initExtra = "zstyle ':fzf-tab:*' fzf-command sk";