2023-11-26 21:26:49 +01:00
|
|
|
{...}: {
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
2023-11-14 12:22:19 +01:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
2024-08-02 21:29:25 +02:00
|
|
|
enableNushellIntegration = false;
|
2023-11-14 12:22:19 +01:00
|
|
|
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 21:26:49 +01:00
|
|
|
nix_shell = {
|
2023-11-14 12:22:19 +01:00
|
|
|
format = "\\[[$symbol$state( \\($name\\))]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
|
|
|
rust = {
|
|
|
|
format = "\\[[$symbol($version)]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
2023-11-20 09:31:46 +01:00
|
|
|
package = {
|
|
|
|
format = "\\[[$symbol$version]($style)\\]";
|
|
|
|
symbol = " ";
|
|
|
|
};
|
2023-11-14 12:22:19 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|