2023-11-06 22:48:30 +01:00
|
|
|
|
{ inputs, ... }:
|
|
|
|
|
|
{
|
2023-11-05 11:40:44 +01:00
|
|
|
|
programs.starship = {
|
|
|
|
|
|
enable = true;
|
2023-11-06 21:54:14 +01:00
|
|
|
|
|
2023-11-06 22:04:45 +01:00
|
|
|
|
enableBashIntegration = true;
|
|
|
|
|
|
enableZshIntegration = true;
|
|
|
|
|
|
enableNushellIntegration = true;
|
2023-11-06 21:54:14 +01:00
|
|
|
|
|
2023-11-06 22:04:45 +01:00
|
|
|
|
settings = {
|
2023-11-06 23:16:35 +01:00
|
|
|
|
format = lib.concatStrings [
|
|
|
|
|
|
#"[ ](fg:#1e1e2e bg:#ff00aa)"
|
|
|
|
|
|
#"$username"
|
|
|
|
|
|
#"[](fg:#ff00aa)"
|
|
|
|
|
|
"$directory"
|
|
|
|
|
|
"[](fg:#1e1e2e bg:#cba6f7)"
|
|
|
|
|
|
"$git_branch"
|
|
|
|
|
|
"$git_status"
|
|
|
|
|
|
"[](fg:#cba6f7 bg:#89b4fa)"
|
|
|
|
|
|
"[](fg:#89b4fa bg:#94e2d5)"
|
|
|
|
|
|
"$nix_shell"
|
|
|
|
|
|
"[ ](fg:#94e2d5)"
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
# character = {
|
|
|
|
|
|
# success_symbol = "[ ](bold #89dceb)[›](bold green)";
|
|
|
|
|
|
# error_symbol = "[ ](bold #89dceb)[›](bold red)";
|
|
|
|
|
|
# };
|
2023-11-06 22:48:30 +01:00
|
|
|
|
|
2023-11-06 22:56:43 +01:00
|
|
|
|
# directory.substitutions = {
|
|
|
|
|
|
# "Documents" = " ";
|
|
|
|
|
|
# "Downloads" = " ";
|
|
|
|
|
|
# "Music" = " ";
|
|
|
|
|
|
# "Pictures" = " ";
|
|
|
|
|
|
# "~" = " ";
|
|
|
|
|
|
# };
|
|
|
|
|
|
|
2023-11-06 22:04:45 +01:00
|
|
|
|
palette = "catppuccin_mocha";
|
|
|
|
|
|
} // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml");
|
2023-11-05 11:40:44 +01:00
|
|
|
|
};
|
2023-11-06 22:04:45 +01:00
|
|
|
|
}
|