No sound on 19.09

My audio device is Intel Corporation Cannon Lake PCH cAVS. Running lspci detects it. However, alsamixer only shows a dummy output device. It doesn’t detect my pc speaker either. I’m using pulse audio without bluetooth. Just the standard audio configuration.

{
  sound.enable = true;
  hardware.pulseaudio.enable = true;
}

Additionally, my user was added to audio group.

I don’t think it’s an issue with my hardware, since everything works fine on 19.03. I came across this thread, which led me to PR 62895. My issue seems to be related to this?

I’ll need to reinstall 19.09 to get the logs again. Is there a specific command I should use to fetch logs, or will journalctl --system suffice?

How do I revert the commit and test it on my machine? Aeschylus suggested using an overlay. Could I use an overlay to revert the commit? Will that work with /etc/nixos/configuration.nix.