I have local moss, from around my house. Most mosses like low/med light with constant moisture. Not constant saturation. Potting soils with clays and high lime mixtures are liked by some mosses, while others like acidy soils. Most can survive in a PH from 7.2 - 6.2.
Great food for mosses are... (In order of desire)
Chinese wash excess starch from rice onto moss stones to accelerate growth. Most mosses grow on stones and surfaces with high amounts of lime. Fremented yeast from beer can also spark a quick colony, don't do that in your tank. Fats (Lipids) have the same digestive effect that lime has, promoting moss growth. Soured Milks can help or hurt moss, they also activate bacteria and slime molds. Clay contains micron sized minerals and lime that become food and help the moss digest the minerals from the sand in the clay. Mineral sand, important, because pure silica (glass) will not grow moss, the sand must have a high miniral mix in order to supply the rootless plants with nutrition.
High sun, and cold air makes moss thrive. Heat and lack of food, not light, kills most mosses. We have several mosses growing in the center of our summer yard, direct sunlight all day with moderate heat. It gets thinner, but puffs up with every rain. Our yard is mostly sand and clay. We can only grow moss and weeds.
The moss in our backyard, in the constant damp and cool shade of our house, with no direct light, has little moss. The moss that grows there is more like a plant, wide and rigid needle like leaves. While the stuff in front is more like soft clump-mosses, and miniature vine plants. Small and bright circular leaves that tower on a single stalk.