nixos/home-modules/starship.nix

31 lines
672 B
Nix
Raw Normal View History

2025-05-03 23:42:03 -07:00
{ ... }: {
programs.starship = {
enable = true;
enableZshIntegration = true;
settings = {
username.format = "[$user](213) ";
hostname = {
disabled = false;
ssh_symbol = "🌐";
style = "bold green";
};
nix_shell = {
format = "[$symbol$state nix-shell]($style) ";
symbol = " ";
pure_msg = "p";
impure_msg = "i";
};
golang = {
format = "go [$symbol $version ]($style)";
symbol = "🦫";
};
character = {
error_symbol = "[](bold red)";
};
directory = {
truncation_symbol = ".../";
};
};
};
}