nixos-config/modules/home/starship/default.nix
2023-11-07 00:19:06 +01:00

33 lines
868 B
Nix
Executable file

{ lib, inputs, ... }:
{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true;
settings = {
directory = {
format = "[ ](bold #89b4fa)[ $path ]($style)";
style = "bold #b4befe";
};
character = {
success_symbol = "[ ](bold #89b4fa)[ ](bold green)";
error_symbol = "[ ](bold #89b4fa)[ ](bold red)";
# error_symbol = "[ ](bold #89dceb)[ ✗](bold red)";
};
directory.substitutions = {
"~" = "󰋞 ";
# "Documents" = " ";
# "Downloads" = " ";
# "Music" = " ";
# "Pictures" = " ";
};
palette = "catppuccin_mocha";
} // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml");
};
}