New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asound.conf configurability (problem with sound on Dell XPS 13) #5755
Comments
I'm just going to mention that you can configure asound.conf directly from configuration.nix: |
We should also refrain from explicitly enabling or disabling |
Also note that you can override settings and write
|
So did this help? |
Setting
Disabling pulseaudio works as a workaround.
|
Sorely. Because the first one is just for |
I just recently installed nixos. And I'm new to it. I had a few problems installing nixos on my new laptop Dell XPS 13.
One problem was that I had no sound by default. The problem it that alsa detect 2 sound cards on my laptop: "hw:1,0" -- the real one and "hw:0,0" -- I don't know what it is. Presumable it is HDMI sound, but I'm not sure.
By default, when no /etc/asound.conf present, alsa uses hw:0,0. So I wrote asound.conf to select hw:1,0 as a default sound card.
The second problem was the was no mixing enabled. I had to enable mixing manually:
I think that is it very useful to allow configuring alsa in configuration.nix.
As a user I would like to have:
Also I think hardware-configuration.nix should detect Dell XPS 13 and set default sound device to "hw:1,0". Probably even better solution would be if alsa automatically select right sound card as "card 0". But I don't know where to report this bug to.
The text was updated successfully, but these errors were encountered: