Hi everyone. Need help with adding a fog or always night to my custom dimension

I'm making a backrooms datapack, It spawns a bunch of armor stands and crashes my game, but that's not the problem rn. I'd like to add fog or always night to my custom dimension. Thanks in advance.
Continue to help post