Yes, the Manu Smriti also says the same:
4.37. Let him never look at the sun, when he sets or rises, is eclipsed or reflected in water, or stands in the middle of the sky
and, also the Apasthambha Smriti:
He should avoid looking at the sun as it rises or sets. During the day
the sun protects creatures, and during the night, the moon. Therefore,
on the night of the new moon he should try his very best to guard
himself by keeping himself pure and chaste and by performing rites
appropriate for the occasion, for on this night the sun and the moon
dwell together.
Apasthambha Dharma Sutras 1.13.18-20
So, there will be similar verses in all the Smritis.
From this page, we can get similar verses from various other Smritis:
Viṣṇu (7.17, 18).—‘He shall not look at the sun rising,—nor when
setting.’
Yājñavalkya (1.137).—‘He shall not look at the sun, nor at a naked
woman....’
Pāraskara (2.7.6 ).—‘ He shall not do the following—looking at a
water-reservoir, tree-climbing, fruit-gathering, entering a man-hole,
public bathing, traversing dangerous situations, looking at the sun,
and begging.’
Baudhāyana (2.3.31).—‘He shall not look at the sun at the time of
rising or of setting.’
Hārīta (Aparārka, p. 180).—‘He shall not look at the naked man or the
naked woman; nor the rising or setting sun and moon