2023-11-26 20:26:49 +00:00
|
|
|
{...}: {
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
2023-11-14 11:22:19 +00:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
format = "$all$directory$character";
|
|
|
|
character = {
|
|
|
|
success_symbol = "[\\$](green)";
|
|
|
|
error_symbol = "[X](red)";
|
|
|
|
};
|
|
|
|
git_branch = {
|
|
|
|
format = "\\[[$symbol$branch]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
|
|
|
git_status = {
|
|
|
|
format = "([\\[$all_status$ahead_behind\\]]($style))";
|
|
|
|
};
|
|
|
|
haskell = {
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
|
|
|
cmd_duration = {
|
|
|
|
format = "\\[[⏱ $duration]($style)\\]";
|
|
|
|
};
|
2023-11-26 20:26:49 +00:00
|
|
|
nix_shell = {
|
2023-11-14 11:22:19 +00:00
|
|
|
format = "\\[[$symbol$state( \\($name\\))]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
|
|
|
rust = {
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
2023-11-20 08:31:46 +00:00
|
|
|
package = {
|
|
|
|
format = "\\[[$symbol$version]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
2023-11-14 11:22:19 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|