1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00
Files
nixos-config-reborn/home-manager/modules/starship.nix
2024-11-26 16:14:58 +05:00

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 = "/";
};
};
};
}