Mac Keyboard Layout Wrong/Changed

I use the US layout Mac variant for my keyboard layout. Recently, my ` key has started typing § instead, as though it was the Mac international layout.

Here is the relevant part of my configuration:

  services.xserver.xkb = {
    model = "pc104";
    layout = "us";
    variant = "mac"; 
  };

Tested on Plasma (Wayland and X11) and Gnome, NixOS Unstable.

It has worked fine for years, why has it changed?
I did upgrade from LTS (6.12.19 I think) kernel recently, but I’m on Microsoft Surface so I have to rebuild the kernel to test that version again, so haven’t yet, nor would that solve my issue.

Seems like it broke at xkb then was fixed – Relevant Commit – and then ISO layouts were added separately – Relevant Commit.

So the problem should be fixed once those make it into a release.