nixcfg/modules/home/cli-apps/starship/default.nix
Harald Hoyer ffed5d5394 fix(starship): update bash indicator icon
Replaced the bash indicator icon in the Starship configuration to ensure consistency with the updated icon set. This improves visual alignment with the theme and enhances readability.
2025-01-20 15:16:56 +01:00

44 lines
883 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.metacfg.cli-apps.starship;
in
{
options.metacfg.cli-apps.starship = {
enable = mkEnableOption "starship";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
(pkgs.nerdfonts.override {
fonts = [
"FiraCode"
"DroidSansMono"
"JetBrainsMono"
];
})
];
programs.starship = {
enable = true;
settings = {
shell.disabled = false;
shell.fish_indicator = "";
shell.bash_indicator = "";
shell.unknown_indicator = "";
container.format = "[\\[$name\\]]($style) ";
git_status = {
ahead = "\${count}";
diverged = "\${ahead_count}\${behind_count}";
behind = "\${count}";
};
};
};
};
}