49 lines
969 B
Nix
49 lines
969 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
programs.zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
{
|
|
name = "zsh-nix-shell";
|
|
file = "nix-shell.plugin.zsh";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "chisui";
|
|
repo = "zsh-nix-shell";
|
|
rev = "v0.8.0";
|
|
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
|
};
|
|
}
|
|
{
|
|
name = "powerlevel10k-config";
|
|
src = lib.cleanSource ./p10k-config;
|
|
file = "p10k.zsh";
|
|
}
|
|
];
|
|
prezto = {
|
|
enable = true;
|
|
pmodules = [
|
|
"archive"
|
|
"docker"
|
|
"environment"
|
|
"git"
|
|
"terminal"
|
|
"editor"
|
|
"history"
|
|
"directory"
|
|
"spectrum"
|
|
"utility"
|
|
"completion"
|
|
"command-not-found"
|
|
"syntax-highlighting"
|
|
"history-substring-search"
|
|
"autosuggestions"
|
|
"prompt"
|
|
];
|
|
prompt.theme = "powerlevel10k";
|
|
};
|
|
};
|
|
}
|