Trying to get sound working on NixOS

@ethanthesleepyone Where can I find the grandma GIF related to gallium OS?

1 Like

I’m trying to get audio to work on Redrix on NixOS but only Pro Audio shows up (not ā€œDefaultā€). This is my configs: nix-info - Google Drive. Any suggestions?

Don’t do ucm like that, it’s just more complicated that necessary. Refer to this for instructions on properly creating a ucm package Please package my chromebook ucm properly Ā· Issue #11006 Ā· batocera-linux/batocera.linux Ā· GitHub

So for SOF all I have to do is replace the upstream alsa-ucm-conf with upstream combined with GitHub - WeirdTreeThing/alsa-ucm-conf-cros at standalone? I’m confused because it seems like the only difference is that yours has mt8183. Are there changes to the main branch of upstream that aren’t part of NixOS packages yet?

Actually I think I was trying to compare your branch with the upstream main but your branch had re-created files so yours actually has Chromebook stuff that the GitHub comparison wasn’t showing me.

Also surprisingly on both jinlon and Redrix audio works out of the box if I select ā€œPro Audioā€ instead of ā€œOffā€. There are a bunch of extra non-functioning speakers and mics but functionally I don’t notice a difference between ā€œPro Audioā€ without running the audio script and ā€œDefaultā€ after running the audio script.

UPDATE: There is a solution: Help with avoiding 50gb worth of rebuils - #15 by ChocolateLoverRaj - Help - NixOS Discourse. I’m going to switch to NixOS now :grinning:.