I don’t think you necessarily need to use git here, you can just “upgrade” to intermediate unstable revisions between 22.05 and 22.11 to find the revision that broke the drivers for you.
Basically what nixos-rebuild switch --upgrade
does is to upgrade the root channel before running nixos-rebuild switch
normally. You can just set the channel to specific revisions, rebuild, and see if the drivers work or not.
Could you show your output of sudo nix-channel --list
and nix-channel --list
? Just so I can give you more correct instructions.
Also be aware that 23.05 was released in the meantime, so if you try upgrading once more, maybe you’re lucky and it’s fixed again?
Additionally, in case you don’t want to put in the effort into bisecting and just want a working system with the latest software otherwise, you can install older working drivers on a new release of NixOS as well.