mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-28 12:21:54 +01:00
34 lines
830 B
Nix
34 lines
830 B
Nix
{
|
||
pkgs,
|
||
nur-ryan4yin,
|
||
...
|
||
}: {
|
||
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 "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-starship}/palettes/mocha.toml");
|
||
};
|
||
}
|