20 lines
455 B
Nix
20 lines
455 B
Nix
{ pkgs, ... }: {
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
enableCompletion = true;
|
|
history = {
|
|
save = 1000000;
|
|
size = 1000000;
|
|
};
|
|
initExtra = ''
|
|
${builtins.readFile ./zshrc}
|
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
|
source ${./p10k.zsh}
|
|
'';
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "colored-man-pages" ];
|
|
};
|
|
};
|
|
}
|