mirror of
https://github.com/Andrey0189/nixos-config-reborn.git
synced 2025-09-15 10:06:00 +03:00
27 lines
576 B
Nix
27 lines
576 B
Nix
{
|
|
programs.starship = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
settings = {
|
|
add_newline = true;
|
|
hostname = {
|
|
ssh_only = false;
|
|
format = "[$ssh_symbol$hostname]($style) ";
|
|
style = "bold purple";
|
|
};
|
|
character = {
|
|
success_symbol = "[ & ](bold green)";
|
|
error_symbol = "[ & ](bold red)";
|
|
};
|
|
username = {
|
|
show_always = true;
|
|
format = "[$user]($style)@";
|
|
};
|
|
directory = {
|
|
read_only = " 🔒";
|
|
truncation_symbol = "…/";
|
|
};
|
|
};
|
|
};
|
|
}
|