nixos/modules/zsh.nix
ISnortPennies 48179c0221 made system boot faster,
changed shxkd config
changed starship config
2023-01-26 00:27:30 -05:00

42 lines
918 B
Nix

{
programs = {
zsh = {
enable = true;
autosuggestions = {
enable = true;
};
syntaxHighlighting = {
enable = true;
};
interactiveShellInit = "neofetch";
shellAliases = {
ls = "exa --long --icons";
};
};
starship = {
enable = true;
settings = {
add_newline = false;
format = "$sudo$cmd_duration \n $directory$git_branch$character";
character = {
success_symbol = "[ ](#9ece6a bold)";
error_symbol = "[ ](#db4b4b bold)";
};
directory = {
read_only = " ";
};
git_branch = {
style = "bold red";
};
sudo = {
format = "[ ](#7aa2f7)";
disabled = false;
};
cmd_duration = {
min_time = 5000;
style = "bold #9ece6a";
};
};
};
};
}