mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-31 22:53:06 +02:00
30 lines
770 B
Nix
30 lines
770 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)";
|
|
};
|
|
# I never rely on the defaults, so this module is useless to me—disabled.
|
|
# I prefer adding --project, --region to very gcloud/aws command.
|
|
aws.disabled = true;
|
|
gcloud.disabled = true;
|
|
|
|
kubernetes = {
|
|
symbol = "⛵";
|
|
disabled = false;
|
|
};
|
|
os.disabled = false;
|
|
};
|
|
};
|
|
}
|