forked from javif89/nix
45 lines
779 B
Nix
Executable File
45 lines
779 B
Nix
Executable File
{
|
||
config,
|
||
pkgs,
|
||
...
|
||
}:
|
||
{
|
||
home.packages = with pkgs; [
|
||
starship
|
||
];
|
||
|
||
# Starship prompt configuration (equivalent to your starship-prompt.sh)
|
||
programs.starship = {
|
||
enable = true;
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
|
||
settings = {
|
||
character = {
|
||
success_symbol = "[Ǽ ❯](bold green)";
|
||
error_symbol = "[Ǿ ❯](bold red)";
|
||
};
|
||
|
||
directory = {
|
||
truncation_length = 9;
|
||
};
|
||
|
||
php = {
|
||
format = "[$symbol($version )]($style)";
|
||
};
|
||
|
||
golang = {
|
||
format = "[$symbol($version )]($style)";
|
||
};
|
||
|
||
nodejs = {
|
||
format = "[$symbol($version )]($style)";
|
||
};
|
||
|
||
bun = {
|
||
format = "[$symbol($version )]($style)";
|
||
};
|
||
};
|
||
};
|
||
}
|