34 lines
692 B
Nix
34 lines
692 B
Nix
{ pkgs, config, ... }:
|
|
|
|
{
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
oh-my-zsh = {
|
|
enable = false;
|
|
};
|
|
antidote = {
|
|
enable = true;
|
|
plugins = [
|
|
"zsh-users/zsh-syntax-highlighting"
|
|
"zsh-users/zsh-autosuggestions"
|
|
"zsh-users/zsh-history-substring-search"
|
|
];
|
|
};
|
|
shellAliases = {
|
|
cd = "z";
|
|
cdi = "zi";
|
|
cat = "bat";
|
|
};
|
|
#initExtra = ''
|
|
#eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
#. "/etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh"
|
|
#'';
|
|
};
|
|
starship = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
};
|
|
}
|