Small note for people wondering why there is no sound coming.
Looks like if you’re using latest kernel, you’re doomed to see the errors similar to this:
Sep 13 11:55:09 splinter kernel: soundwire sdw-master-0-0: Program params failed: -22
Sep 13 11:55:09 splinter kernel: SDW0-Playback-SimpleJack: ASoC: error at snd_soc_link_prepare on SDW0-Playback-SimpleJack: -22
Sep 13 11:55:09 splinter kernel: sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
Sep 13 11:55:09 splinter kernel: soundwire sdw-master-0-0: Program transport params failed: -22
Sep 13 11:55:09 splinter kernel: soundwire sdw-master-0-0: Program params failed: -22
Sep 13 11:55:09 splinter kernel: SDW0-Playback-SimpleJack: ASoC: error at snd_soc_link_prepare on SDW0-Playback-SimpleJack: -22
Sep 13 11:55:09 splinter kernel: sdw_deprepare_stream: subdevice #0-Playback: inconsistent state state 1
And as a result, no sound device will be available on your system.
I had to revert to previous generation instead of pinning nixpkgs to an older commit (thanks to the mythical nvidia build issues on mismatching kernel/driver versions). But you can try reverting to a previous commit.
References: