2023-12-03 08:16:41 +00:00
|
|
|
{pkgs, ...}: {
|
2023-11-29 10:18:56 +00:00
|
|
|
programs.starship = {
|
|
|
|
enable = true;
|
2023-12-03 08:16:41 +00:00
|
|
|
settings =
|
2023-11-29 10:18:56 +00:00
|
|
|
{
|
2024-01-18 08:47:24 +00:00
|
|
|
#add_newline = false;
|
|
|
|
#line_break.disabled = true;
|
2023-11-29 10:18:56 +00:00
|
|
|
|
2024-01-18 08:47:24 +00:00
|
|
|
#character = {
|
|
|
|
# success_symbol = "[>](bold green)";
|
|
|
|
# error_symbol = "[>](bold red)";
|
|
|
|
# vimcmd_symbol = "[<](bold green)";
|
|
|
|
# vimcmd_replace_one_symbol = "[<](bold purple)";
|
|
|
|
# vimcmd_replace_symbol = "[<](bold purple)";
|
|
|
|
# vimcmd_visual_symbol = "[<](bold yellow)";
|
|
|
|
#};
|
2023-11-29 10:18:56 +00:00
|
|
|
}
|
2024-01-18 08:47:24 +00:00
|
|
|
// builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml")
|
|
|
|
// builtins.fromTOML (builtins.readFile (pkgs.substitute {
|
|
|
|
src = "${pkgs.starship}/share/starship/presets/tokyo-night.toml";
|
2024-02-04 12:33:46 +00:00
|
|
|
replacements = ["--replace-warn" "" ""];
|
2024-01-18 08:47:24 +00:00
|
|
|
}));
|
2023-11-29 10:18:56 +00:00
|
|
|
};
|
|
|
|
}
|