mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
38 lines
810 B
Nix
38 lines
810 B
Nix
{
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
autosuggestions = {
|
|
enable = true;
|
|
};
|
|
syntaxHighlighting = {
|
|
enable = true;
|
|
};
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|