My understanding is that the UK Online Safety Act imposes KYC requirements only on large social media services, defined as Category 1, who have at least 7 million active users in the UK.
There are some obligations for smaller providers, like having mitigation practices for things like CSAM; stuff that I think most Nostr services already have in place.