mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-18 07:51:21 +02:00
34 lines
866 B
Nix
34 lines
866 B
Nix
{
|
||
programs.starship = {
|
||
enable = true;
|
||
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
enableNushellIntegration = true;
|
||
|
||
# https://starship.rs/config/
|
||
settings = {
|
||
# Get editor completions based on the config schema
|
||
"$schema" = "https://starship.rs/config-schema.json";
|
||
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 = "☁️ 🅶 ️";
|
||
};
|
||
kubernetes = {
|
||
symbol = "⛵";
|
||
disabled = false;
|
||
};
|
||
os.disabled = false;
|
||
};
|
||
};
|
||
}
|