Where were W2 wages and self-employment income earned if the source of income was NY (employer and clients located in NY), but I performed the work remotely in CT?

I live in CT and work for an employer in NY state. I worked remotely for about 90% of 2021. I also am an independent contractor for a client based in NY, but I performed the work remotely from CT. Where should I say that this income was earned? NY or CT?