The combination of turning the lights off in my room, watch something relaxing/calming (that doesn't make me laugh hard or scared) for 1 hour before bed helped me, BUT I also had to use night light for my monitor (flux). I can get at best around 6 hours of sleep and has become my norm as my neighbors can get loud early morning.
Also, I always use relaxing apps to sleep. Rain sounds, white noise, music, I just install and uninstall them 3 times a week trying stuff out.
Have you tried earplugs? They changed my life on days where people decide to be noisy, which is every other day here. I don't here the car honks, loud neighbors, and thunder anymore.
The best part is I still get woken up by my phone's alarm at full volume, even with earplugs on.
After years of terrible sleep, I gave in and started using melatonin daily. Every part of my life has improved.
I haven't seen anything to suggest dependency is an issue, and, if I miss a dose (forget to take it until too late), I have reverted to my old sleeping pattern, rather than anything worse. No increased onset insomnia or anything like that.
Just sticky bits of cellophane that let you still see the lights when you need them but not so intense at night. You can get them on amazon or w/e
Then scroll down the Accessibility settings page to Accessibility Shortcut. This sets what happens when you triple-click the power button. If you set this to Reduce White Point (RWP), it will turn on/off RWP while remembering the slider setting you selected.
I find this invaluable when I wake up in the middle of the night and want to read for a bit without filling my eyes with light / risking waking anyone.
(Edited for spelling)