{ config, pkgs, lib, user, ... }: { home-manager.users.${user.username} = { programs.starship = { enable = true; # Globally enables Starship for all shells settings = { addNewline = false; # Example: Catppuccin Mocha theme format = "$all"; }; }; # Optional: Ensure Starship init is in shell configs (if not auto-added) xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [ "eval \"$(starship init bash)\"" ]; xdg.configFile."zshrc".text = lib.concatStringsSep "\n" [ "eval \"$(starship init zsh)\"" ]; xdg.configFile."config/fish/config.fish".text = '' starship init fish | source ''; }; }