mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-31 22:53:06 +02:00
28 lines
745 B
Nix
28 lines
745 B
Nix
{ catppuccin-starship, ...}: {
|
||
programs.starship = {
|
||
enable = true;
|
||
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
enableNushellIntegration = true;
|
||
|
||
settings = {
|
||
character = {
|
||
success_symbol = "[›](bold green)";
|
||
error_symbol = "[›](bold red)";
|
||
};
|
||
aws = {
|
||
symbol = "🅰 ";
|
||
};
|
||
gcloud = {
|
||
# do not show the account/project's info
|
||
# to avoid the leak of sensitive information when sharing the terminal
|
||
format = "on [$symbol$active(\($region\))]($style) ";
|
||
symbol = "🅶 ️";
|
||
};
|
||
|
||
palette = "catppuccin_mocha";
|
||
} // builtins.fromTOML (builtins.readFile "${catppuccin-starship}/palettes/mocha.toml");
|
||
};
|
||
}
|