Modeling nonthermal emission from stellar bow shocks (Research Note)