photoendolith
Etymology
From photo- + endolith.
noun
Any photoautotrophic endolith