In the meantime, I figured it out, but I couldn’t comment here as the post wasn’t authorized. The issue in my case was that the NX keymap file wasn’t set to be globally readable for some reason. It’s a bit annoying that xkb doesn’t show any logs related to what went wrong when it tried to set the keymap.